Constructor: pollAnswer
A possible answer of a poll
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | TextWithEntities | Yes | |
option | bytes | Yes | The param that has to be passed to messages.sendVote. |
Type: PollAnswer
Example:
$pollAnswer = ['_' => 'pollAnswer', 'text' => TextWithEntities, 'option' => 'bytes'];