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 Text
AI-generatedSummary
Update the text of an existing message in a specified Telegram chat by providing chat ID, message ID, and new text content, with options to customize text parsing and additional message parameters.
Inputs
- Chat ID (required) — Unique identifier for the target chat or username (@channelusername).
- Message ID (required) — Unique identifier of the target message to edit.
- Text (required) — New text content for the message.
- Parse Mode — Text parsing mode: None, Markdown, MarkdownV2, or HTML to control formatting parsing.
- Additional Fields — Optional settings such as disabling notifications, protecting content, reply message ID, message thread ID for forums, disabling web page preview, and allowing sending without reply.
Output shape
a single JSON object representing the updated message returned by the Telegram API.
Returns the edited message object upon success. Optional fields in 'Additional Fields' affect the message behavior. Errors result in exceptions unless 'continueOnFail' is enabled, then errors are returned per item.