Send Message
Sends a text message to a specified recipient on Telegram.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Client Id - The unique identifier of the Telegram client to use for this operation.
- To - The recipient of the message (can be a username, chat ID, or other recipient identifier).
- Message - The text message to send.
How It Works
The Send Message node sends a text message to a specified recipient on Telegram. When executed, the node:
- Validates the provided inputs (Client Id, To, and Message)
- Uses the Telegram client to send the text message to the specified recipient
Requirements
- A valid Telegram client session with appropriate permissions
- Valid recipient identifier
- Valid text message content
- Client Id must match an existing Telegram client session
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Client Id
- Empty or invalid recipient identifier
- Empty or invalid Message content
Usage Notes
- The To parameter can accept various identifiers such as usernames, chat IDs, or other recipient references
- The Message parameter should contain the text to be sent
- For sending media files, use the Send Media node instead
- The Client Id must correspond to an active Telegram client session