api.getChatListsToAddChat()
Returns chat lists to which the chat can be added. This is an offline request
Parameters
GetChatListsToAddChatParams:chevron_leftchevron_right
Parameters
Interface
| Name | Type | Description |
|---|---|---|
chatId | number | Chat identifier |
Returns
ApiResponse interface:interface ApiResponse {
_: 'getChatListsToAddChat' | 'error'
airgram: Airgram
request: {
method: 'getChatListsToAddChat'
params: GetChatListsToAddChatParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}