Trigger for Telegram that invokes a Serverless Containers container
Written by
Updated at September 30, 2026
A Telegram trigger runs a Serverless Containers container whenever the Telegram bot receives a new update: message, command, button callback, and other events. To receive updates, the trigger uses the Telegram bot's token.
A Telegram trigger needs a service account to invoke a container.
For more information about creating a trigger for Telegram, see Creating a Telegram Trigger that invokes a container from Serverless Containers.
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 work, the service account needs the
serverless-containers.containerInvokerrole for the container that invokes the trigger.
Telegram trigger message format
After the trigger fires, it will send an Update