messages.deletePollAnswer #
Remove an answer option from 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 |
| option | bytes | The option identifier of the answer to remove |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |
Related pages #
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.¶