Bots! What are they? Let’s make a Telegram Bot [Part -1]

hat are Bots?

Robots for short are called Bots are software programs that performs automated, repetitive,pre-defined tasks for us at a much faster pace, with better accuracy and precision.

Where are Bots used?

Bots are used in various real-life applications where pre-defined tasks have to be done at certain time intervals. We can make a bot for the browser to complete a boring task using Selenium. They can be used to create applications to make our lives a little less boring, we can also create sophisticated programs that can do online payments on our behalf, one such application created a lot of Chaos in the Hardware Industry when all the New Generation Graphics cards from Nvidia and AMD were sold out in minutes after coming in stock, Similarly, we can make Trading, Stock Market and Crypto Bot.

Are Bots safe to use?

In many scenarios using a bot is Safe, depending on the application, using a Bot to send good morning messages is safe, whereas using a Bot to make online purchases on certain platforms can be a problem as you might violate their Terms and Conditions, so we should make sure we don’t get into trouble while making such a bot.

Telegram Bots

Telegram Bots as the name Suggests are Bots that run on Telegram.These are programs created by us users to make bots that run on Telegram’s Infrastructure using Telegram’s Bot API

Are Telegram Bots Free?

Yes, Telegram Bots are completely free and can be used by Anyone to make their own Custom Bot that is tailored specifically for us. There are many existing bots, have a look at them to understand their interface at the end-user. Here are some cool Telegram Bots:

  • Urban Dictionary Bot
    Search any term or expression in Urban Dictionary just by sending a message to me!
  • αcutєвσt 🐾
    Get everything related to entrainment! Movies × TVshows × Anime × Music
  • Alert Bot
    AlertBot has a straightforward but helpful purpose. You can create simple alerts and reminders
  • Gamee
    The best games on Telegram! ❤️ Pick a game and challenge your friends 💪
  • IMDb
    Gets you the IMDb information of any TV Show or Movie

Getting Ourselves a Bot!

To get yourself a Bot you have to contact another Bot. Seems cool, doesn’t it. It’s very easy and straightforward to get a bot. We have to message Bot Father on Telegram.

We have now successfully Connected with BotFather. Now let's our very own personal Bot, for this issue, the Command /newbot to BotFather, will prompt us for a name for the Bot, in my case I’ll be naming it a test. BotFather will now prompt us to give a unique username for our newly created test Bot.

After a few attempts we’ve got a Bot named blogtest19, You can visit yours by clicking on the link or by typing @<botusername>, let's visit the bot.

There we go we’ve now have a bot for ourselves 🥳🥳🥳
Our Bot is unresponsive as of now as there is no software/script running
Our Bot can be run by scripts that can be run on our local machines or on remote servers or script-hosting platforms.
We will be learning how to make a functional bot in the next post in this series.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store