Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Message → Edit Message Caption
AI-generatedSummary
Edit the caption of a specific message in a Telegram chat by providing the chat ID, target message ID, and new caption text, with optional parse mode and additional fields to modify message properties.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername) where the message exists.
- Message ID (required) — Unique identifier of the target message whose caption will be edited.
- Caption (required) — New caption text to set for the message.
- Parse Mode — Optional. How to parse the caption text; options include 'None', 'Markdown', 'MarkdownV2', and 'HTML' to format the caption accordingly.
- Additional Fields — Optional. Additional parameters such as disabling notifications, protecting content, replying to a message, setting message thread ID, disabling web page preview, or allowing sending without reply.
Output shape
A single record containing the updated message object as returned by Telegram API's editMessageCaption method.
The operation returns the edited message details upon success. Errors throw exceptions unless 'Continue On Fail' is enabled.
Examples
Example 1: Edit an existing message caption with Markdown formatting and disable the link preview.
Provide 'chat_id', 'message_id', 'caption' with new text, select 'Markdown' as parse mode, and enable 'disable_web_page_preview' in additional fields.