![]() ![]() ![]() In this tutorial, we used Rule Chains from create & clear alarms tutorial. This is the so-called chat_id.Īfter that, you can start to configure Rule engine to use Rest API Call extension. "YOUR_BOT_TOKEN" has to be replaced by the authentication token of your bot, e.g.:įrom the outcoming data you can find field ‘id’. Next, open your web browser and enter the following URL: Where ThingsBoard_Bot is name of the Telegram bot. In the group where your Bot was added as a member. There are several ways to get the Chat ID:įirst of all, you need send some message to your Bot: The Chat ID is needed to send messages via the HTTP API. In the next step, we need to retrieve a Chat ID. The token is a string that looks like this - ‘110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw’ that is required to authorize the bot. Once the creation of the bot is finished, you can generate an authorization token for your new bot. The BotFather is the main bot that will help you to create new bots and change their settings.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |