Telegram Bot icon

Telegram Bot

Interact with the Telegram Bot API – send messages, manage chats, handle payments, and more

Actions101

Chat → Revoke Chat Invite Link

AI-generated

Summary

Revoke a chat invite link

Inputs

  • chat_id (required) — Unique identifier for the target chat or username (@channelusername)
  • invite_link (required) — The invite link to edit or revoke

Output shape

object containing an ok boolean and a result boolean indicating success

Returns a Telegram API result object; on success ok is true and result is true (or true payload).

Examples

Example 1: Revoke an existing invite link

chat_id: "123456789"; invite_link: "https://t.me/+AbC123"

Links

Discussion