Layer 227
MessagesDeletePollAnswer
Remove an answer option from an open-answer poll
method
Users
messages.deletePollAnswer#ac8505a5 peer:InputPeer msg_id:int option:bytes = Updates;
Parameters
| Name | Type | Description |
|---|---|---|
| Peer | InputPeer | Peer where the poll is located |
| MsgId | int | Message ID of the poll |
| Option | bytes | The option identifier of the answer to remove |
Returns
UpdatesGogram Example
// MessagesDeletePollAnswer - positional arguments result, err := client.MessagesDeletePollAnswer(&tg.InputPeerUser{UserID: int64(777000)}, 42, []byte{0x01, 0x02, 0x03}) if err != nil { // handle error } // result is *tg.Updates
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | PEER_ID_INVALID | The provided peer id is invalid. |