How-To create a Telegram bot

How-To create a Telegram bot
  1. Click the @BotFather link to open the @BotFather chat in Telegram.

    You can do the similar manually by opening your Telegram app and searching for @BotFather via the search field.
    Be careful not to send the message to the wrong contact, as some users have similar usernames to BotFather.
  2. Message @BotFather with the following text:
    /newbot
1. How-To create a Telegram bot
  1. @BotFather replies with:

Alright, a new bot. How are we going to call it? Please choose a name for your bot.

  1. Type whatever name you want for your bot.
  2. @BotFather replies with:

Good. Now let's choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris_bot.

  1. Type whatever username you want for your bot, minimum 5 characters, and must end with bot.
    For example: botname_bot
  2. @BotFather replies with:

Done! Congratulations on your new bot. You will find it at telegram.me/botname_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands.

Use this token to access the HTTP API:
123456789:AAG90e14-0f8-40183D-18491dDE

For a description of the Bot API, see this page:
https://core.telegram.org/bots/api

  1. Congratulations! You have created your Telegram bot!
    Note down the bot name (e. x., botname_bot) and token (e. x., 123456789:AAG90e14-0f8-40183D-18491dDE) mentioned above.
IMPORTANT:

These bot name and token will be used later when configuring the Teleshop plugin.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *