Actions37
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- Request Actions
- User Actions
Message → Send Text Message
AI-generatedOverview
This node sends a text message to a specified Telegram chat using the Telegram CoPilot API. It is useful for automating message sending in Telegram chats, such as sending notifications, alerts, or conversational messages programmatically.
Use Case Examples
- Sending a welcome message to a new user in a Telegram chat.
- Automating status updates or alerts to a Telegram group or channel.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the Telegram chat where the message will be sent. |
| Message Text | The text content of the message to be sent. |
| Reply to messageId | Optional identifier of a message to which the new message will be a reply. |
Output
JSON
message_id- The unique identifier of the sent message.chat_id- The chat identifier where the message was sent.content- The content of the sent message, including the text.
Dependencies
- Requires Telegram API credentials (API ID, API Hash, and phone number) for authentication.
Troubleshooting
- Common issues include authentication errors if the Telegram session is not logged in or has expired. The node may throw errors like 'Please login' or 'Unauthorized' which indicate the need to re-authenticate.
- If the client session is closed or terminated, the node will prompt to login again.
- Ensure the Chat ID and message text are correctly provided; missing or invalid inputs will cause the operation to fail.
Links
- TelePilot Login Guide - Instructions on how to login and authenticate the Telegram CoPilot node.