Constructor: pollAnswer

Back to constructors index

Poll answer


Name Type Required Description
text string Yes Text
option bytes Yes Option

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.