Raw.messages.VotesList
How users voted in a poll
messages.votesList#4899484e flags:# count:int votes:Vector<MessagePeerVote> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.VotesList;
export namespace Raw {
export namespace messages {
export class VotesList {
constructor(params: {
count: number;
votes: Array<Raw.TypeMessagePeerVote>;
chats: Array<Raw.TypeChat>;
users: Array<Raw.TypeUser>;
nextOffset?: string;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x4899484e
Property
count
: numberTotal number of votes for all options (or only for the chosen option, if provided to messages.getpollvotes)
votes
: Array of Raw.TypeMessagePeerVoteVote info for each user
chats
: Array of Raw.TypeChatMentioned chats
users
: Array of Raw.TypeUserInfo about users that voted in the poll
nextOffset
: string or undefinedOffset to use with the next messages.getpollvotes request, empty string if no more results are available.