pyTelegramBotAPI
pyTelegramBotAPI copied to clipboard
how to use bot.send_poll function?
Hello everybody. I want to use send_poll function. Please write example for this function. How can I use this function? how correct make poll? Thanks.
poll = types.Poll(question='Some question')
poll.add('Option 1')
poll.add('Option 2')
poll.add('Option 3')
bot.send_poll(chat_id, poll)
what about quiz mode?
Seems like quiz mod is not supported yet, maybe this function will be added later.
thank u so much