Once you've chosen a username, the BotFather will reply with an authorisation token. Choose a username for your bot (must end in "bot").From the chat interface, follow these steps: Search for "BotFather" and initiate a chat. Once you have a Telegram account, you can register a new bot by sending a message to BotFather, a bot managed by Telegram themselves. You can use Telegram from either your PC or your phone, or both. To create a Telegram bot, we need to download Telegram and create a user account. Registering a Bot Account and Talking to the BotFather Commands sent to the bot's account on Telegram will be passed to the bot's backend code (in our case, this will be the code we host on Code Capsules).įor example, when we send the command /weather to our bot later in this article, the bot will reply with the weather data from our personal API. Users interact with Telegram bots by messaging them with commands – these are words preceded by a forward slash, e.g. Telegram bots appear as contacts on the Telegram interface.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |