Send Message
AI-generatedSummary
Send a text message to a specified Telegram chat using the Telegram User Bot (MTProto) API.
Inputs
- Chat ID (required) — The Telegram chat ID to which the message will be sent. This can be a user, chat, or channel identifier.
- Message (required) — The textual content of the message to send to the specified chat.
Output shape
a single JSON object with the success status, message ID, chat ID, and date of the sent message
The output contains fields: success (boolean), messageId (number), chatId (string), and date (Date object). If the chat ID is numeric, the node attempts to resolve it to the appropriate Telegram entity type before sending. Errors are thrown and can be handled by the node's error handling options.
Examples
Example 1: Send a greeting message to a user chat
Set operation to 'Send Message', provide the target user chat ID, and provide the greeting text in 'Message' field.
Example 2: Send notification to a group chat
Use the group's chat ID in 'Chat ID' and the notification text in 'Message', then execute the node.