MadelineProtoDocs/old_docs/API_docs_v97/constructors/pollAnswer.md
2019-05-03 21:10:09 +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'}