MadelineProtoDocs/old_docs/API_docs_v97/constructors/pollResults.md
2019-05-03 21:10:09 +02:00

870 B

title description image
pollResults Poll results https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: pollResults

Back to constructors index

Poll results

Attributes:

Name Type Required Description
min Bool Optional Min?
results Array of PollAnswerVoters Optional Results
total_voters int Optional Total voters

Type: PollResults

Example:

$pollResults = ['_' => 'pollResults', 'min' => Bool, 'results' => [PollAnswerVoters, PollAnswerVoters], 'total_voters' => int];

Or, if you're into Lua:

pollResults={_='pollResults', min=Bool, results={PollAnswerVoters}, total_voters=int}