Some UiPath activities. To use it you need to have created a bot by BotFather provided by Telegram itself, the BotFather will provide the first param (Bot Token) to use the activity.
To get the bot token, follow the next steps:
- Enter the chat with BotFather;
- Once with a bot created, type
/mybots
for BotFather; - Select your bot;
- Click in
API Token
, the BotFather gonna show to you the token from your bot, you can see that in the following image:
To get th chat id, follow the next steps:
- Add the Telegram BOT to the group;
- Get the list of updates for your BOT, through this link:
https://api.telegram.org/bot<YourBOTToken>/getUpdates
; - Look for the "chat" object, and get the paranm
id
:
To use the activity you need to fill some params: Bot Token
and Chat ID
.
To use the activity you need to fill the param Message
.
To use the activity you need to fill the params: Image path
and Message
(optional).
Once the parameters are filled in correctly, you can perform the activity and it will work!