Skip to content

Latest commit

 

History

History
 
 

Telegram-Bot

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

#TelegramBot

  1. Create a bot in telegram:

    Go to @BotFather and click /start and type /newbot and give it a name. Then choose a username and get the token which has to be placed in "YOUR-TOKEN" place in the code

  2. Install required packages:

    pip install requests

    pip install python-telegram-bot

  3. Type /hi command to start conversation with the chatbot.

  4. Pictures/memes are displayed based on the public apis given in the code

Output

pic1-1

pic2-1

pic3-1