What is a bot?
According to wikpedia, An Internet bot, web robot, robot or simply bot, is a software application that runs automated tasks (scripts) over the Internet.
Telegram bot is created from BotFather using commands like
- /newbot
- /setuserpic
After this, you are free to explore using the token which is assigned by BotFather
Use this token and key into your web browser to try. It is fun.
https://api.telegram.org/bot[Key in your Token here]/getme
https://api.telegram.org/bot[Key in your Token here]/getupdates
https://api.telegram.org/bot[Key in your Token here]/sendmessage?chat_id=[key inthe chat_id]&text=how%20are%20you%20doing
With the basic command above, you can start writing your code in python, java and so on to build your bot from scratch.
I have recently looked into the Telegram bot and created "BotBot". BotBot can be used to perform search results using the Google Search engine. Sent updates to a Telegram channel which we maintained. It can also be personalised according to our requirements.
Have fun! I have received request to conduct the above lesson. Give me some feedback so that I can decide whether to plan one.
Thanks.