api.checkCreatedPublicChatsLimit()
Checks whether the maximum number of owned public chats has been reached. Returns corresponding error if the limit was reached
Parameters
CheckCreatedPublicChatsLimitParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
type | Type of the public chats, for which to check the limit |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'checkCreatedPublicChatsLimit' | 'error'
airgram: Airgram
request: {
method: 'checkCreatedPublicChatsLimit'
params: CheckCreatedPublicChatsLimitParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}