getPollVoters¶
Returns message senders voted for the specified option in a poll; use poll.can_get_voters to check whether the method can be used. For optimal performance, the number of returned users is chosen by TDLib
getPollVoters(
chat_id: int53,
message_id: int53,
option_id: int32,
offset: int32,
limit: int32
) → PollVoters
chat_id¶
int53
Identifier of the chat to which the poll belongs
message_id¶
int53
Identifier of the message containing the poll
option_id¶
int32
0-based identifier of the answer option
offset¶
int32
Number of voters to skip in the result; must be non-negative
limit¶
int32
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