MadelineProtoDocs/docs/API_docs/constructors/messageMediaPoll.md
2019-12-27 17:48:04 +01: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}