Telegram Bot icon

Telegram Bot

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

Actions101

Message → Edit Message Caption

AI-generated

Summary

Edit the caption of a message sent by the Telegram bot in a specified chat.

Inputs

  • Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
  • Message ID (required) — Unique identifier of the target message whose caption will be edited.
  • Caption (required) — New caption text for the message.
  • Parse Mode — Optionally set text parsing mode for the caption: None, Markdown, MarkdownV2, or HTML.
  • Additional Fields — Optional parameters such as disabling notification, protecting content, replying to another message ID, specifying message thread ID, disabling web page preview, and allowing sending without reply.

Output shape

An object containing the edited message data returned by the Telegram API.

The operation returns the edited message details in JSON format under 'result' as per Telegram Bot API response.

Examples

Example 1: Edit message caption with markdown parse mode and disable notification

Set Chat ID, Message ID, Caption with markdown formatting, choose Parse Mode as Markdown, and enable Disable Notification in Additional Fields.

Links

Discussion