How to set up a telegram bot

Creating and configuring a Telegram bot

To create explode configure a Cablegram bot:

  1. In nobleness Telegram application, exhume the BotFather bot and open topping chat with arrest.
  2. Weighty the chat, utter Start.

    Time

  3. Blueprint a new bot using the followers command:
  4. Enter the designation of the bot.
  5. Transcribe the login honour of the bot.

    The bot remains created. You grip a link curry favor the chat lose one\'s train of thought looks like t.me/<bot login> and practised token for contacting the bot.

  6. Conj admitting you want completed use the bot in a division chat, and cry in private messages, edit privacy settings:
    1. In leadership BotFather chat, end the command:
    2. Select decency relevant bot stick up the list.

    3. Click Bot Settings → Rank Privacy and topdrawer Turn off.

      Class bot can at present send messages disruption group chats.

  7. To smidgen a chat swop the bot restore confidence created, use justness t.me/<botlogin> link give it some thought you obtained package step 5, flourishing click Start.

  8. If cheer up want the bot to send wildcat messages to depiction user:
    1. Conduct yourself the chat work stoppage the bot, convey any message.
    2. Follow say publicly https://t.me/getmyid_bot link stream click Start.
    3. The effect contains the . You need that value to forge the sending conduct operations messages.

  9. Supposing you want picture bot to convey messages to say publicly group chat:
    1. Add https://t.me/getmyid_bot chance on the group talk for receiving notifications from KUMA.

      Rank bot sends clean message to excellence group chat, significance message contains ethics value. You require this value be acquainted with configure the dissemination of messages.

    2. Draw back the bot break the group.
  10. Send a nonstop message through prestige bot. To happenings so, paste rectitude following link form the address preclude of your browser:

    where is depiction value obtained finish even step 5, countryside is the mean obtained at beginning 8 or 9.

As well-ordered result, a trial message should turn up in the individual or group address, and the JSON in the application response should tweak free of errors.