Zapier does not offer native integration for Telegram. How can one send a message to Telegram chat from Zapier?
Question posted in Telegram API
A comprehensive official documentation can be found here.
A comprehensive official documentation can be found here.
2
Answers
Zapier offers Code actions that can execute JavaScript or Python code. You can use JavaScript fetch and Telegram HTTP API to post messages to Telegram chats through your bot.
There’s no need to do this using Python or Javascript. You can use the POST function in Zapier’s Webhooks to send a message directly via the Bot API:
URL
https://api.telegram.org/bot{BOT_API_TOKEN}/sendMessage
Payload Type json
Data
your message
-{CHANNEL_OR_GROUP_ID}
Note the use of the
-
symbol in front of the chat_id; you must have this in order for it to work.