Layer 220
constructor
messages.votesList#4899484e flags:# count:int votes:Vector<MessagePeerVote> chats:Vector<Chat> users:Vector<User> next_offset:flags.0?string = messages.VotesList;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Count int Total number of votes for all options (or only for the chosen option, if provided to messages. get Poll Votes )
Votes Vector<MessagePeerVote> Vote info for each user
Chats Vector<Chat> Mentioned chats
Users Vector<User> Info about users that voted in the poll
NextOffset flags.0?string Offset to use with the next messages. get Poll Votes request, empty string if no more results are available.

Gogram Example

// Creating MessagesVotesList constructor
obj := &tg.MessagesVotesList{
    Count: 0,
    Votes: []tg.MessagePeerVote{&tg.MessagePeerVote{}},
    Chats: []tg.Chat{&tg.Chat{}},
    Users: []tg.User{&tg.User{}},

    // Optional fields:
    // NextOffset: "...",
}