api.createBasicGroupChat()
Returns an existing chat corresponding to a known basic group
Parameters
CreateBasicGroupChatParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
basicGroupId | number | Basic group identifier |
force | boolean | If true, the chat will be created without network request. In this case all information about the chat except its type, title and photo can be incorrect |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'createBasicGroupChat' | 'error'
airgram: Airgram
request: {
method: 'createBasicGroupChat'
params: CreateBasicGroupChatParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}