Telegram (Grammy) icon

Telegram (Grammy)

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

Actions10

Message → Delete

AI-generated

Summary

Delete a Telegram message using the bot token, chat ID, and message ID. The node calls Telegram’s deleteMessage API once for each input item.

Inputs

  • Bot Token (required) — Telegram bot token; defaults to the current item’s access_token or token field.
  • Chat ID (required) — Chat containing the message to delete.
  • Message ID (required) — ID of the message to delete.

Output shape

A single item per input item, containing Telegram’s deletion result.

Each output item is paired with its input item. If Continue On Fail is enabled, an error is returned as { "error": "..." }; otherwise, the node throws.

Links

Discussion