Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 445 Bytes

File metadata and controls

15 lines (8 loc) · 445 Bytes

#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