Lets chat with Telegram Bot — Sending messages, photos and RSSFeed

Nikhil Verma
4 min readApr 17, 2020

See in 1950’s there was a test to differentiate humans and machines apart. Yes, you are correct — its Turing test. But you know the world of 2020, long ago that test became just a point of history to remember and the “hello world” of artificial systems became “Chat-bots” that could baffle a machine and prove itself to be the real human behind wall.

With the advent of social world, we are living with so many chatting apps and blogging sites where at time, we our self don't know; who we are talking to. Is that really my friend or a bot mimicking him.

One of such popular app is Telegram and I am here to talk today about making a bot for Telegram app. Believe me its the simplest thing I had ever tried.

We will focus on two things here:-

  1. Bot sending messages to user.
  2. Bot sending photographs.
  3. Bot sending news updates to its subscribers.

First thing first, lets make a bot in Telegram. Bot father is Telegram app’s bot that could help you in making one. you just need to search it on app. It shows quiet many options and you should choose:-

/newbot

Following some questions, it would ask like bot name, username; it will make one and give you a unique token, identifying your bot; Its an alpha numeric string:-

--

--

Nikhil Verma
Nikhil Verma

Written by Nikhil Verma

Knowledge shared is knowledge squared | My Portfolio https://lihkinverma.github.io/portfolio/ | My blogs are living document, updated as I receive comments

No responses yet