1.0 KiB
1.0 KiB
title | description | image | redirect_from |
---|---|---|---|
messages.votesList | messages.votesList attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png | /API_docs/constructors/messages_votesList.html |
Constructor: messages.votesList
Attributes:
Name | Type | Required |
---|---|---|
count | int | Yes |
votes | Array of MessageUserVote | Yes |
users | Array of User | Yes |
next_offset | string | Optional |
Type: messages.VotesList
Example:
$messages.votesList = ['_' => 'messages.votesList', 'count' => int, 'votes' => [MessageUserVote, MessageUserVote], 'users' => [User, User], 'next_offset' => 'string'];
Or, if you're into Lua:
messages.votesList={_='messages.votesList', count=int, votes={MessageUserVote}, users={User}, next_offset='string'}