Telegram CoPilot icon

Telegram CoPilot

Your Personal Telegram CoPilot

Message → Edit Message Text

AI-generated

Summary

Edit the text of an existing message in a chat.

Inputs

  • chat_id (required) — ID of the chat where the message resides.
  • message_id (required) — Identifier of the message to edit.
  • messageText (required) — New text for the message.

Output shape

object

Returns the updated message object as provided by the Telegram API.

Examples

Example 1: Update a previously sent text message.

Provide the Chat ID, Message ID, and the new text.

Links

Discussion