MadelineProtoDocs/old_docs/API_docs_v30/constructors/messageMediaPoll.md
2020-06-16 17:50:25 +02:00

744 B

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

Constructor: messageMediaPoll

Back to constructors index

Poll

Attributes:

Name Type Required Description
poll Poll Yes The poll
results PollResults Yes The results of the poll

Type: MessageMedia

Example:

$messageMediaPoll = ['_' => 'messageMediaPoll', 'poll' => Poll, 'results' => PollResults];

Or, if you're into Lua:

messageMediaPoll={_='messageMediaPoll', poll=Poll, results=PollResults}