messages.addPollAnswer #
Add an answer option to an open-answer poll »¶
Layer 223
Method schema is available as of layer 224. Switch » Parameters #
| Name | Type | Description |
|---|---|---|
| peer | InputPeer | Peer where the poll is located |
| msg_id | int | Message ID of the poll |
| answer | PollAnswer | The new answer option to add, use inputPollAnswer |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Related pages #
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.¶