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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.