Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
Message → Edit Message Text
AI-generatedOverview
This node operation allows editing the text of an existing message in a Telegram chat. It is useful for scenarios where you need to update or correct the content of a previously sent message without sending a new one. For example, you can use it to fix typos, update information, or modify message content dynamically based on workflow logic.
Use Case Examples
- Editing a message to correct a typo after it has been sent.
- Updating a message text to reflect new information or status changes in a chat.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat where the message to be edited is located. |
| Message ID | The identifier of the specific 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.input_message_contenttext
*text- The updated text content of the message.
Dependencies
- Requires an API key credential for Telegram via the telePilotApi credential.
Troubleshooting
- Common errors include 'Unauthorized' which indicates the Telegram session is not logged in or has expired; re-login is required.
- Errors about a closed client indicate the Telegram client session was closed and a new login is needed.
- Ensure the Chat ID and Message ID are correct and correspond to existing messages in the chat.
- If the node fails, enabling 'Continue On Fail' can allow the workflow to proceed while logging the error.
Links
- TelePilot Login Guide - Instructions on how to log in and manage Telegram sessions for this node.