Add a bot to your lectures
This is the code of the Telegram bot I use in my lectures.
It needs an argument: it is a text file containing the token of the bot. (it is the long exa number provided by the BotFather when the new bot is registered)
The bot shows all the messages it receives.
It is possible to do simple ballots: /vote cast a vote e.g.
to count the votes simply send
here is the code: