public static class TdApi.GetPollVoters extends TdApi.Function<TdApi.MessageSenders>
Returns MessageSenders
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which the poll belongs.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
limit
The maximum number of voters to be returned; must be positive and can't be greater than 50.
|
long |
messageId
Identifier of the message containing the poll.
|
int |
offset
Number of voters to skip in the result; must be non-negative.
|
int |
optionId
0-based identifier of the answer option.
|
| Constructor and Description |
|---|
GetPollVoters()
Default constructor for a function, which returns message senders voted for the specified option in a non-anonymous polls.
|
GetPollVoters(long chatId,
long messageId,
int optionId,
int offset,
int limit)
Creates a function, which returns message senders voted for the specified option in a non-anonymous polls.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public int optionId
public int offset
public int limit
public static final int CONSTRUCTOR
public GetPollVoters()
Returns MessageSenders
public GetPollVoters(long chatId,
long messageId,
int optionId,
int offset,
int limit)
Returns MessageSenders
chatId - Identifier of the chat to which the poll belongs.messageId - Identifier of the message containing the poll.optionId - 0-based identifier of the answer option.offset - Number of voters to skip in the result; must be non-negative.limit - 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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object