Skip to main content

Telegram Callback Trigger

The Telegram Callback Trigger triggers a flow when a button on a keyboard is pressed in a Telegram chat. A keyboard is sent along with a message; each button contains a callback value in addition to its text. The trigger compares the incoming callback value with its command and starts the flow if they match.

note

The trigger is only displayed in the Expert mode.”

After double-clicking on the trigger, set the following properties:

PropertyDescription
connectionAll Telegram connections created in the Plug-ins section are available for selection here. If the desired connection is not yet available, you can make it available in the Plug-ins section as a "" Telegram connection at.
CommandCallback value to which this trigger responds. The drop-down list contains the callback values of all keyboard buttons configured for the same connection; you can also enter a value that is not yet listed there. A "@" is not permitted.
Authentication requiredCheck the box if only authorized users are allowed to trigger the flow. The checkbox can only be selected if authentication is set up for the selected connection; otherwise, it remains unchecked and the two following fields are disabled.
Authorized UsersSelect authorized users from the drop-down menu.
User FilterHere, you also have the option to enter a filter to specifically select authorized users.
Clear KeyboardCheck the box if you want the keyboard to be removed from the message after a successful transfer.

Trigger Values

The trigger provides the data from the button press as input values for the flow:

ValueContent
CallbackThe callback value of the pressed button.
UsernameTelegram username of the sender.
First NameFirst name of the sender.
Last NameLast name of the sender.
Chat IDThe chat from which the keystroke originated.
Message IDThe message associated with the keyboard.
Text MessageThe text of this message.
KeyboardThe keyboard for the message as a JSON array containing text and callback functions for each button.
DateThe time the message was sent.

If the transfer is aborted, the bot responds in the chat with an abort message.

To receive commands typed in the chat, use the Telegram trigger “” ().