Actions34
- Chat Actions
- Contact Actions
- File Actions
- Group Actions
- Login Actions
- Message Actions
- User Actions
Message → Send Text Message
AI-generatedOverview
This node allows sending a text message to a specified Telegram chat. It is useful for automating communication by sending messages programmatically to Telegram chats, such as notifying users, sending alerts, or interacting with chat participants.
Use Case Examples
- Sending a notification message to a support group chat when a new ticket is created.
- Automating daily reminders by sending scheduled messages to a personal or group chat.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The unique identifier of the Telegram chat where the message will be sent. |
| Message Text | The text content of the message to be sent to the chat. |
| Reply to messageId | Optional identifier of a message to which the new message will be a reply. |
Output
JSON
result- The response object from Telegram API representing the sent message details.
Dependencies
- Requires an API key credential for Telegram API authentication.
Troubleshooting
- Ensure the Telegram API credentials are correctly configured and the session is logged in; otherwise, the node will throw login-related errors.
- If the chat ID is invalid or the bot/user does not have permission to send messages to the chat, an error will occur.
- Errors related to message sending such as 'CHAT_WRITE_FORBIDDEN' indicate permission issues; verify chat permissions.
- File path or binary data errors occur if the input audio or file data is missing or incorrect (relevant for other message types).
- Session closure or unauthorized errors require re-login using the provided login instructions at https://telepilot.co/login-howto.
Links
- TelePilot Login Guide - Instructions for logging in and managing Telegram sessions for this node.