public static class TdApi.GetPollVoters extends TdApi.Function
Returns Users
TdApi.Function.Constructors
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 users 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 users 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 users 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 users voted for the specified option in a non-anonymous polls.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageId
public int optionId
public int offset
public int limit
public static final int CONSTRUCTOR
public GetPollVoters()
Returns Users
public GetPollVoters(long chatId, long messageId, int optionId, int offset, int limit)
Returns Users
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 users to skip in the result; must be non-negative.limit
- The maximum number of users to be returned; must be positive and can't be greater than 50. For optimal performance, the number of returned users 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()
getConstructor
in class TdApi.Function