Poll
Poll button is a keyboard only button. After clicking - call internal telegram poll builder.
After submitting the poll - fires Answer anonymous
or Answer user
events.
extends​
Events​
Click​
added in 1.1.0name​
click
payload​
ctx
- <Object>. Telegraf update Context.button
- <Object> - the Keyboard Button instance
Answer anonymous​
added in 1.1.0name​
answer_anonymous
payload​
Answer user​
added in 1.1.0name​
answer_user
payload​
pollAnswer
- <Object> - the pollAnswer objectinstance
- <Object>. Button isntance.