api.checkChatInviteLink()
Checks the validity of an invite link for a chat and returns information about the corresponding chat
Parameters
CheckChatInviteLinkParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
inviteLink | string | Invite link to be checked |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'checkChatInviteLink' | 'error'
airgram: Airgram
request: {
method: 'checkChatInviteLink'
params: CheckChatInviteLinkParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}