832 B
832 B
title | description | image |
---|---|---|
pollAnswer | A possible answer of a poll | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: pollAnswer
A possible answer of a poll
Attributes:
Name | Type | Required | Description |
---|---|---|---|
text | string | Yes | Textual representation of the answer |
option | bytes | Yes | The param that has to be passed to messages.sendVote. |
Type: PollAnswer
Example:
$pollAnswer = ['_' => 'pollAnswer', 'text' => 'string', 'option' => 'bytes'];
Or, if you're into Lua:
pollAnswer={_='pollAnswer', text='string', option='bytes'}