Telegram - Update message caption action
The Update message caption action edits the caption of an existing media message in Telegram.
BOTS CAN ONLY EDIT THEIR OWN MESSAGES
This action can only edit a message the bot itself sent. Editing a message from another user or bot fails. Messages can only be edited within 48 hours of being sent.
Input
| Input field | Description |
|---|---|
| Chat ID | Enter the unique identifier for the target chat or the username of the target channel. Required if Inline message ID isn't specified. |
| Message ID | Enter the identifier of the message to edit. Required if Inline message ID isn't specified. |
| Inline message ID | Enter the identifier of the inline message to edit. Required if Chat ID and Message ID aren't specified. |
| Caption | Enter the new caption of the message. |
| Parse mode | Optional. Select the mode to format the caption with bold, italic, or other styling. Options are Markdown, MarkdownV2, or HTML. Leave blank for plain text. |
| Reply markup | Optional. Enter a JSON-serialized inline keyboard, custom reply keyboard, or other reply markup object. |
Output
This action returns the updated message. Refer to the Telegram Bot API Message documentation for more information on available output fields.
| Output field | Description |
|---|---|
| Message ID | The message's unique identifier inside the chat. |
| From | The bot that sent the message. |
| Chat | The chat the message belongs to. |
| Date | The Unix timestamp the message was originally sent. |
| Edit date | The Unix timestamp the message was last edited. |
| Caption | The updated caption of the message. |
Last updated: