MadelineProtoDocs/old_docs/API_docs_v91/constructors/pollAnswer.md

686 B

title description image
pollAnswer Poll answer https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pollAnswer

Back to constructors index

Poll answer

Attributes:

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

Type: PollAnswer

Example:

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

Or, if you're into Lua:

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