Constructor: pollAnswer

Back to constructors index

A possible answer of a poll


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


$pollAnswer = ['_' => 'pollAnswer', 'text' => 'string', 'option' => 'bytes'];

Or, if you’re into Lua:

pollAnswer={_='pollAnswer', text='string', option='bytes'}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.