Link Search Menu Expand Document

Constructor: messageMediaPoll

Back to constructors index

Poll

Attributes:

NameTypeRequiredDescription
pollPollYesThe poll
resultsPollResultsYesThe results of the poll

Type: MessageMedia

Example:

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