Telegram (Grammy) icon

Telegram (Grammy)

Send and manage Telegram messages, chats, and files via Grammy

Actions10

Chat → Leave

AI-generated

Summary

Leave the Telegram chat identified by Chat ID using the supplied bot token. The node returns Telegram’s success result for the leave request.

Inputs

  • Bot Token (required) — Bot API token; defaults to the incoming item's access_token or token field.
  • Chat ID (required) — ID of the chat the bot should leave.

Output shape

A single item containing Telegram’s boolean success result in its json field.

The operation calls Telegram's leaveChat API once per input item. With Continue On Fail enabled, errors are returned as { "error": "..." } in the item's json field.

Links

Discussion