MadelineProtoDocs/old_docs/API_docs_v102/constructors/pollAnswer.md
2019-06-24 15:45:02 +02:00

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'}