Telegram Bot icon

Telegram Bot

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

Actions101

Message → Edit Message Text

AI-generated

Summary

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.

Links

Discussion