Raw.messages.GetPollVotes
Get poll results for non-anonymous polls
messages.getPollVotes#b86e380e flags:# peer:InputPeer id:int option:flags.0?bytes offset:flags.1?string limit:int = messages.VotesList;
export namespace Raw {
export namespace messages {
export class GetPollVotes {
constructor(params: {
peer: Raw.TypeInputPeer;
id: number;
option?: Buffer;
offset?: string;
limit: number;
}) {}
}
}
}
This is a function constructor, you can use it as method when call invoke
Layer: 185
Constructor ID: 0xb86e380e
Property
peer
: Raw.TypeInputPeerChat where the poll was sent
id
: numberMessage id
option
: Buffer or undefinedGet only results for the specified poll option
offset
: string or undefinedOffset for results, taken from the nextOffset field of messages.voteslist, initially an empty string. note: if no more results are available, the method call will return an empty nextOffset; thus, avoid providing the nextOffset returned in messages.voteslist if it is empty, to avoid an infinite loop.
limit
: numberNumber of results to return