mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.4 KiB
1.4 KiB
title | description | nav_exclude | image | redirect_from |
---|---|---|---|---|
messages.votesList | How users voted in a poll | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_votesList.html |
Constructor: messages.votesList
How users voted in a poll
Attributes:
Name | Type | Required | Description |
---|---|---|---|
count | int | Yes | Total number of votes for all options (or only for the chosen option , if provided to messages.getPollVotes) |
votes | Array of MessagePeerVote | Yes | Vote info for each user |
chats | Array of Chat | Yes | Mentioned chats |
users | Array of User | Yes | Info about users that voted in the poll |
next_offset | string | Optional | Offset to use with the next messages.getPollVotes request, empty string if no more results are available. |
Type: messages.VotesList
Example:
$messages_votesList = ['_' => 'messages.votesList', 'count' => int, 'votes' => [MessagePeerVote, MessagePeerVote], 'chats' => [Chat, Chat], 'users' => [User, User], 'next_offset' => 'string'];