In this short tutorial, I will walk you through the steps for creating your own Telegram bot in python right from scratch.

Let us build a Telegram Bot that echoes the messages that we send to it.

Step 1: Set up your Bot’s profile

To set up a new bot, start the conversation with BotFather (@BotFather).

BotFather will help us in creating the new bot.

📌Search for @botfather in Telegram.

📌Start your conversation by pressing the Start button.

📌Create the bot by running /newbot command

📌Enter the Display Name and User Name for the bot.

📌BotFather will send you a message with the token

⚠️ DISCLAIMER — Keep the access token of the bot securely. Anyone with your token can manipulate this bot.

Now the new bot is created successfully.

Just search the user name of the bot in the search bar.

Telegrambot Offical Documentation Link:

Link -…


To install pyTelegramBotAPI enter the below command in the command prompt (cmd).

📌pip install pyTelegramBotAPI

Source Code & Link:

import telebot

bot = telebot.TeleBot("1607176195:AAE6t21ata7f-EMssrzD_ulRF-yikcvfa-I")

@bot.message_handler(commands=['start', 'help'])
def send_welcome(message):
	bot.reply_to(message, "Hi soosai, how are you ?")


Link - 



How to Make a Telegram Bot using Python | Auto Reply Telegram Bot using Python
29.55 GEEK