Actions17
Send Text
AI-generatedSummary
Send a text message to a Telegram chat using provided token and optional reply markup and entities
Inputs
- botToken — Bot token (password‑type) from input, defaulting to $json.access_token or $json.token
- chatId (required) — Target chat ID; default from $json.chatId or $json.channel?.external_id
- replyToMessageId — Optional message ID to reply to; default 0
- text — Message text; default from $json.text or $json.caption or $json.publication?.content
- replyMarkup — Inline or reply keyboard markup JSON; default from $json.reply_markup
- entities — Message entity specifications; default from $json.entities
- useRateLimit — Enable Redis rate limiting; default false
Output shape
a list of Telegram message objects (one per input item)
Each entry contains the full Telegram API response for the sent message; on 403 the item is routed to a separate output, and errors may go to error output if continueOnFail is false.
Examples
Example 1: Post a promotional text to a channel
Set Bot Token to $json.access_token, Chat ID to $json.channel.external_id, Text to $json.caption, enable Use Redis Rate Limit
Example 2: Reply to a previous message with formatted text
Set Bot Token from $json.access_token, Chat ID from $json.chatId, Reply to Message ID from $json.message_id, Text from $json.text, add Reply Markup JSON