# Constructor: messageMediaPoll

Back to constructors index


# 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}

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