MadelineProtoDocs/old_docs/API_docs_v104/constructors/pollAnswer.md
2019-08-15 20:25:16 +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'}