pollAnswer
A possible answer of a poll
type tg.PollAnswer struct { /* ... */ }
Implements PollAnswer.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Text | TextWithEntities | yes | Textual representation of the answer (only Premium users can use custom emoji entities here). |
Option | []byte | yes | The param that has to be passed to messages.sendVote. |
Media | MessageMediaClass | — | Media field of PollAnswer. |
AddedBy | PeerClass | — | AddedBy field of PollAnswer. |
Date | int | — | Date field of PollAnswer. |
References
- Official documentation
- Generated Go reference
- TL definition:
pollAnswer#4b7d786a