Actions40
- Chat Actions
- Custom Request Actions
- Group Actions
- File Actions
- Login Actions
- Message Actions
- User Actions
- Contact Actions
Overview
This node allows editing the text of an existing message in a Telegram chat. It is useful for updating or correcting messages after they have been sent. For example, you can use it to fix typos, add additional information, or update the content of a message in a chat.
Use Case Examples
- Correcting a typo in a previously sent message.
- Updating a message with new information after an event.
- Changing the content of a message to reflect a change in plans.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat where the message to be edited is located. |
| Message ID | The identifier of the message to be edited. |
| Message Text | The new text content to replace the existing message text. |
Output
JSON
message_id- The identifier of the edited message.chat_id- The identifier of the chat where the message was edited.content- The updated content of the message, including the new text.
Dependencies
- Requires an API key credential for Telegram API access.
Troubleshooting
- Ensure the Telegram API credentials are valid and the session is logged in; otherwise, the node will throw login-related errors.
- Verify that the chat ID and message ID are correct and that the bot or user has permission to edit the message in the specified chat.
- If the message text is empty or invalid, the Telegram API may reject the request.
Links
- Telegram Bot API - editMessageText - Official Telegram API documentation for editing message text.