Skip to content

Latest commit

 

History

History
44 lines (21 loc) · 1.67 KB

telegram-integration.md

File metadata and controls

44 lines (21 loc) · 1.67 KB

Telegram Intergration with Covaccine Notifier

The way to setup telegram bot with covaccine notifier

  • Step 1 : Create Telegram bot

    • Conduct search for @Botfather or you can directly open the URL https://telegram.me/botfather to start conversations with BotFather. BotFather will then introduce itself and will display a START button at the bottom for the user.

      bot image 1

    • Once you click on the START button, BotFather will provide you with all the commands that can be used for creating a new bot, as shown in the following screenshot

      bot image 2

    • Now, click on the link /newbot from your conversation with BotFather. With this command, BotFather will ask you to choose a name for your bot.

      bot image 3

      At this point, BotFather has created your bot and has also provided a token for your bot. This token(blurred with yellow color) can be used whilst wiring up your bot with Telegram bot APIs.

  • Step 2 : Start conversation with newly created bot

    • To start conversation with newly created bot click on link recevied in above message

      bot image 4

    • Check whether username is set for your telegram account ? If not set the username.

  • Step 3 : Start covaccine-notifier with following command

    covaccine-notifier telegram --pincode 444002 --age 47 --token <telegram-token> --username <telegram-username>
    

    Sample Screenshot

    bot image 5