![]() You will find it at t.me/aruba_tutorial_bot. Like, for example: TetrisBot or tetris_bot.Īfter entering the official name of the bot, BotFather will reply with the access token necessary to make the HTTP requests. Now let's choose a username for your bot. How are we going to call it? Please choose a name for your bot.”Īt this point you will be asked for a username for your bot (which must end with "_bot"): ![]() The bot will request a name for your new bot, here called "node-tg-bot": Īfter opening the chat with BotFather, click on the "Start" button and type: To create a new bot, use the Telegram bot called "BotFather", reachable through a Telegram client by searching the name or by visiting the link. For making the necessary requests, "superagent" will be used as an HTTP client. In the following tutorial you will see how to use the available tools to create a very simple bot that responds with the received text, by slightly altering it, on a Linux Ubuntu 18.04 server. The communication APIs with Telegram can be used through the HTTP protocol, as described in the official documentation available at. Among the different features provided by the platform, there is the possibility to create custom Bots, able to interface with users in a completely automatic way.īots are able to receive the commands given by the user through the Telegram chat in the form of HTTP requests and to respond with certain actions. Telegram is a state-of-the-art, completely open source instant messaging platform.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |