Have been trying to figure out how telegram bot really work and as a developer i have a lot of thought going through my heads but today i think i really get an answer to this and i wish to share with Steemit.
Step 1:
Lets setup our bot
We are not writing codes for this, in fact you dont even need your computer!
Go to telegram app on phone and search for "botfather" telegram bot
Step 2:
Type /help to see all commands on botfather
Step 3:
Type /newbot to create a new bot and follow the instructions.
As you can see i have choose Steemit as the bot name and Steemitb_bot as the username
Step 4:
Done! Congratulations on your new bot. You will find it at t.me/steemitb_bot. You can now add a description, about section and profile picture for your bot, see /help for a list of commands. By the way, when you've finished creating your cool bot, ping our Bot Support if you want a better username for it. Just make sure the bot is fully operational before you do this.
Use this token to access the HTTP API:
522347581:AAGQfbCkuhyJye7AGnMadheXEnQ1WZijUJg
For a description of the Bot API, see this page: https://core.telegram.org/bots/api
Now you can search for your newly created both on telegram
Step 5:
Go ahead and start charting with your bot
Well, that’s pretty disappointing. Our bot seems to be stupid, in the sense that it can’t really reply or say anything back. Let’s take care of that by building our bot server which runs on the back end.