We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4066e63 commit dc1d2acCopy full SHA for dc1d2ac
docs/api/bot.rst
@@ -277,7 +277,7 @@ components.
277
278
@bot.poll_update
279
def poll_update(poll):
280
- chat_id = mydb.retrieve_chat_by_poll_id(poll.id)
+ chat_id = mydb.retrieve_chat_by_poll_id(poll.id) # Dummy method
281
if poll.is_closed:
282
bot.chat(chat_id).send('Poll final results!\n%s' %
283
'\n'.join(['%s: %s' % (o.text, str(o.voter_count)) for o in poll.options]))
@@ -834,4 +834,4 @@ components.
834
835
.. deprecated:: 0.3 it will be removed in botogram 1.0
836
837
-.. _`ISO 639-1 code`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
+.. _`ISO 639-1 code`: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
0 commit comments