Good day, it is necessary to develop a Telegram bot.
The Telegram bot is needed for sending messages (questions) to subscribers of the bot.
Its functions:
Admin panel buttons: example on the screen.
1. Tournament
2. Distribution
3. User statistics. (Statistics of people who have joined the bot)
1. Tab ''Tournament'' is divided into buttons:
1. Start the tournament (The tournament session begins)
2. Add a question -- (After clicking, a form for submitting a question appears.) What the form looks like - First, the text of the question is entered and an image is added, then text for answer buttons "YES" - "NO" or "Vova" - "Kolya". Next form (How long the question will be active, I enter the time, or choose to close manually.) - Next form with points (I choose how many points a person receives for a correct answer. For "YES" answer - 7 points, for "NO" - 3 points)
Then a question is sent to all bot subscribers. (I have attached how it should look in the file)
The bot stores all participants' answers in an online table. Here is a link to what the table looks like - https://docs.google.com/spreadsheets/d/1u703PO-R5FRGiEeVxX6KWVtqZp17N6zY1XbirPjIYg0/edit?gid=0#gid=0
After the event has taken place. We go to
3. tab "Close question" where we have the opportunity to indicate which answer was correct YES/NO. After closing the question, participants are credited with their points, then a message is sent to the person whether they answered correctly or incorrectly - example "You answered YES to question #3 and receive 7 points. Congratulations" for those who answered "NO" - "You answered NO to question #3 and receive 0 points". Then our Google table is formed online.
This is what the "Tournament" tab should look like. Example on screens + video of preparing questions.
Admin panel - Distribution:
1. This is simply the ability to send subscribers information in text format or text + photo (with sound or without sound)
Admin panel - Statistics
3. User statistics. (Statistics of people who have joined the bot) example on screens.
Features that should be included:
1. Adding 2 questions at the same time with the ability to close them regardless of the order of publication.
Buttons:
1. Start the game (Informational post about the tournament)
2. My statistics - gives the choice:
1. General tournament table (When clicked, redirects the person to a Google table)
2. My statistics (When clicked, provides the person's results - their place in the tournament table and the number of points)
4. Rules (Information about the bot. Picture + text)
More details will be discussed during the call.