top of page
Search

Telegram Bot

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.


  1. https://api.telegram.org/bot[Key in your Token here]/getme

  2. https://api.telegram.org/bot[Key in your Token here]/getupdates

  3. 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.


7 views0 comments

Recent Posts

See All
bottom of page