Skip to content

gcatanese/SampleTelegramQuiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SampleTelegramQuiz

Sample of Telegram Quiz in Python

Find here the source code of the Creating a Telegram Chatbot Quiz with Python article.

Alt text

Table of Contents

Table of contents generated with markdown-toc

Setup

Clone the repository

git clone https://github.com/gcatanese/SampleTelegramQuiz.git

Create and .env file in the same folder as app.py. The .env file defines the environment variables.

  • TELEGRAM_TOKEN={your Telegram token} [here]

Run on Local

Run the application

cd telegram_bot
python telegram_bot.py

Access the bot via the deeplink https://t.me/{bot_username} and start chatting

Note: the chatbot runs in Polling mode

About

Sample of Telegram Quiz in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages