messages.getPollVotes
Get poll results for non-anonymous polls
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | Chat, wohin die Umfrage gesendet wurde |
id | int | Ja | Nachrichten-ID |
option | bytes | Nein | Get only results for the specified poll `option` |
offset | string | Nein | Offset for results, taken from the `next_offset` field of [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md), initially an empty string. Note: if no more results are available, the method call will return an empty `next_offset`; thus, avoid providing the `next_offset` returned in [messages.votesList](https://core.telegram.org/constructor/messages.votesList.md) if it is empty, to avoid an infinite loop. |
limit | int | Ja | Number of results to return |
Antworten
messages.VotesList
MTProto RPC
- 403 · BROADCAST_FORBIDDEN – Kanalumfragewähler und Reaktionen können nicht abgerufen werden, um eine Deanonymisierung zu verhindern.
- 400 · MSG_ID_INVALID – Ungültige Nachrichten-ID angegeben.
- 403 · POLL_VOTE_REQUIRED — Cast a vote in the poll before calling this method.