MadelineProtoDocs/old_docs/API_docs_v91/constructors/messageMediaPoll.md

752 B

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

Constructor: messageMediaPoll

Back to constructors index

Message media poll

Attributes:

Name Type Required Description
poll Poll Yes Poll
results PollResults Yes Results

Type: MessageMedia

Example:

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

Or, if you're into Lua:

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