RevokeChatInviteLink constructor

RevokeChatInviteLink(
  1. {required int chat_id,
  2. required String invite_link,
  3. int? extra,
  4. int? clientId}
)

Revokes invite link for a chat. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right in the chat for own links and owner privileges for other links.

Returns ChatInviteLinks

Implementation

RevokeChatInviteLink