messages.addPollAnswer #

Add an answer option to an open-answer poll »

Layer 223

Method schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
peerInputPeerPeer where the poll is located
msg_idintMessage ID of the poll
answerPollAnswerThe new answer option to add, use inputPollAnswer

Result #

Updates

Only users can use this method #

Possible errors #

CodeTypeDescription
400PEER_ID_INVALIDThe provided peer id is invalid.

inputPollAnswer #

An answer option to add to an open-answer poll »

Polls and quizzes #

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.