Differenze tra le versioni di "Add a bot to your lectures"

Da raspibo.
Jump to navigation Jump to search
(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...')
(Nessuna differenza)

Versione delle 20:25, 20 set 2019

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: