api.deleteRevokedChatInviteLink()
Deletes revoked chat invite links. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links
Parameters
DeleteRevokedChatInviteLinkParams
:chevron_leftchevron_right
Parameters
Interface
Name | Type | Description |
---|---|---|
chatId | number | Chat identifier |
inviteLink | string | Invite link to revoke |
Returns
ApiResponse
interface:interface ApiResponse {
_: 'deleteRevokedChatInviteLink' | 'error'
airgram: Airgram
request: {
method: 'deleteRevokedChatInviteLink'
params: DeleteRevokedChatInviteLinkParams
}
response: |
setState: (nextState: Record<string, unknown>) => void
getState: () => Record<string, unknown>
}