Telegram bots have
/commands, so add them in BotFather (using
/setcommands) and create one scenario which triggers new objects from
TMessageIn, and if there is no system commands in
text field, the scenario sends an object to Router scenario.
Router scenario (it does not triggers by events, it is invoked) is routing messages, based on the value of the field
Condition step (checking
context) looks like:
Call Telegram API-method
getFile using Telegram step this way:
Then, save to a field temporary URL:
_BOT_TOKEN_ is token of your bot.