Interface GetPollVoters

Returns message senders voted for the specified option in a non-anonymous polls. For optimal performance, the number of returned users is chosen by TDLib. Request type for Tdjson#getPollVoters.

interface GetPollVoters {
    @type: "getPollVoters";
    chat_id: number;
    limit: number;
    message_id: number;
    offset: number;
    option_id: number;
}

Properties

@type: "getPollVoters"
chat_id: number

Identifier of the chat to which the poll belongs.

limit: number

The maximum number of voters to be returned; must be positive and can't be greater than 50. For optimal performance, the number of returned voters is chosen by TDLib and can be smaller than the specified limit, even if the end of the voter list has not been reached.

message_id: number

Identifier of the message containing the poll.

offset: number

Number of voters to skip in the result; must be non-negative.

option_id: number

0-based identifier of the answer option.