Actions2
Send Message
AI-generatedSummary
Send a message to a specified Telegram chat with customizable content and additional JSON parameters.
Inputs
- Chat ID (required) — The unique identifier for the target Telegram chat where the message will be sent.
- Text (required) — The textual content of the message to be sent.
- Custom JSON — An optional JSON object to include additional Telegram API parameters in the request, such as reply_markup for inline keyboards.
Output shape
A list of items, each item containing the JSON of the request sent and the Telegram API response received for each input.
The output provides both the composed request body and the corresponding response from Telegram's sendMessage API endpoint. Validation ensures 'Custom JSON' is valid JSON.
Examples
Example 1: Send a text message with an inline keyboard
Set Chat ID and Text parameters, and use Custom JSON to add a reply_markup with inline keyboard buttons.