Actions27
- Chat Actions
- File Actions
- Group Actions
- Message Actions
- User Actions
Overview
This node integrates with Telegram via the TelePilot API, enabling automation of various Telegram messaging and chat management tasks. Specifically, for the Message resource and Send Text Message operation, it allows sending plain text messages to a specified Telegram chat.
Common scenarios include:
- Automating notifications or alerts by sending messages to Telegram chats.
- Building chatbots that respond with custom messages.
- Integrating Telegram messaging into workflows for customer support or team communication.
Example: Automatically send a status update message to a Telegram group chat whenever a workflow completes.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the Telegram chat where the message will be sent. |
| Message Text | The content text of the message to send. |
| Reply to messageId | (Optional) The ID of an existing message in the chat to which this message will reply. |
Output
The node outputs a JSON array containing the response from the Telegram API after sending the message. This typically includes details about the sent message such as message ID, chat info, timestamps, and message content metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an active Telegram API authentication credential (an API key/token).
- Depends on the TelePilot Node Connection Manager to handle Telegram client sessions.
- The Telegram account must be logged in and authorized; otherwise, the node will throw errors prompting login.
Troubleshooting
- "Please login" errors: Occur if the Telegram session is not authenticated or has expired. Resolve by performing the login process using the associated login nodes or commands.
- Session closed or terminated: Indicates the Telegram client session was closed unexpectedly. Re-login is required.
- Invalid Chat ID or Message ID: Ensure the provided IDs are correct and accessible by the authenticated Telegram account.
- Network or API errors: Check internet connectivity and Telegram API availability.
Links and References
- TelePilot Login Guide
- Telegram Bot API documentation (for general understanding): https://core.telegram.org/bots/api