Now that we have the Group ID and Robot ID and Token, we can create the Telegram API format.
https://api.telegram.org/bot{botIDAndToken)/sendMessage?chat_id=GroupID&text
To make sure that the API is working, you can test it by using your own Bot ID, Token, Group ID, and paste the link into the address bar of Google Chrom.
What we will do for Telegram Bot is complete.
In the Behavior Section, add a New Action,
Action Name : AppsheetToTelegram
For Record Table:YourTableName
Do This : External: go to a website
Target:
"https://api.telegram.org/bot5165294646:AAF8svNYwB2dZXEcgxirfg4hPPS-KNZgY6w
/sendMessage?chat_id=-791179187&text="&
"★"&CONCATENATE(NOW(),"Please count this product: " ,
SELECT(ITEMSTABLE[NAME],
[ID]=[_THISROW].[ YourTableNameID]
)
)
You can add the message you want to the link and send it to the telegram group via bot. A bot can be added to different groups. With a single bot, you can notify more than one group in different ways in your application.
Very cool
I was looking around for this and also for a way to get the responses back to google sheets so i can start a topic via appsheet and see the team's responses in the app as well