Constructor: pollAnswer
A possible answer of a poll
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| text | TextWithEntities | Yes | Textual representation of the answer (only Premium users can use custom emoji entities here). |
| option | bytes | Yes | The param that has to be passed to messages.sendVote. |
| media | MessageMedia | Optional | |
| added_by | Peer | Optional | |
| date | int | Optional |
Type: PollAnswer
Example:
$pollAnswer = ['_' => 'pollAnswer', 'text' => TextWithEntities, 'option' => 'bytes', 'media' => MessageMedia, 'added_by' => Peer, 'date' => int];