Add a bot to your lectures
Versione del 20 set 2019 alle 19:25 di Renzo (discussione | contributi) (Creata pagina con ' 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 th...')
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.
/vote yes
to count the votes simply send
/count
here is the code: