Skip to content

Latest commit

 

History

History
 
 

TelegramEchoBot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

TelegramEchoBot

TelegramEchoBot is a simple python script which echo the messages got from the user on telegram without any Library and Framework.

Installation

Pre-requirements: python3 and a Telegram Bot API

How to get bot_APi

  1. Got to BotFather on https://t.me/BotFather .

  2. Use the /newbot command to create a new bot. The BotFather will ask you for a name and username, then generate an authorization token for your new bot. The name of your bot is displayed in contact details and elsewhere.

  3. The Username is a short name, to be used in mentions and t.me links. Usernames are 5-32 characters long and are case insensitive, but may only include Latin characters, numbers, and underscores. Your bot's username must end in 'bot', e.g. 'tetris_bot' or 'TetrisBot'.

  4. The token is a string along the lines of 110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALD saw that is required to authorize the bot and send requests to the Bot API. Keep your token secure and store it safely, it can be used by anyone to control your bot.

SetingUp

Past your bot API at bot_API on Bot.py.

    Ex: bot_API = '110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALD'

Using

Just run Bot.py

Enjoy 😀