Actions43
- Chat Actions
- Add Chat Members
- Close Chat
- Close Chat (Lite)
- Create SuperGroup or Channel
- Delete Chat
- Get Chat
- Get Chat History
- Get Chats
- Join Chat
- Mark Chat as Unread
- Open Chat
- Open Chat (Lite)
- Search Public Chat (by Username, Lite)
- Search Public Chat (by Username)
- Search Public Chats (Search in Username, Title)
- Send Chat Action
- Contact Actions
- Custom Request Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Edit Message Text
AI-generatedSummary
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.