revoke_chat_invite_link
Revoke an invite link to prevent new members from joining via that link. Specify the invite link and optionally the chat ID.
Instructions
Revoke an invite link for a chat. If chat_id is omitted, targets the default log group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Chat ID or @channel_username. Optional — defaults to log group | |
| invite_link | Yes | The invite link to revoke |