Trigger for Telegram that sends messages to WebSocket connections
Written by
Updated at September 30, 2026
A Telegram trigger sends messages to WebSocket connections whenever the Telegram bot receives an update: message, command, button callback, and other events. To receive updates, the trigger uses the Telegram bot's token.
A trigger for Telegram requires a service account to send messages to WebSocket connections.
For more information about creating a trigger for Telegram, see How to create a Telegram trigger that sends messages to WebSocket connections.
Roles required for the proper operation of a trigger for Telegram
- To create a trigger, you need a permission for the service account under which the trigger runs the operation. This permission comes with the iam.serviceAccounts.user and editor roles or higher.
- For the trigger to fire, the service account needs the
api-gateway.websocketBroadcasterrole for the folder where the API gateway resides.
Telegram trigger message format
After the trigger fires, it will send an Update