public static class TdApi.UpdatePollAnswer extends TdApi.Update
TdApi.Update.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int[] |
optionIds
0-based identifiers of answer options, chosen by the user.
|
long |
pollId
Unique poll identifier.
|
long |
userId
The user, who changed the answer to the poll.
|
Constructor and Description |
---|
UpdatePollAnswer()
A user changed the answer to a poll; for bots only.
|
UpdatePollAnswer(long pollId,
long userId,
int[] optionIds)
A user changed the answer to a poll; for bots only.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long pollId
public long userId
public int[] optionIds
public static final int CONSTRUCTOR
public UpdatePollAnswer()
public UpdatePollAnswer(long pollId, long userId, int[] optionIds)
pollId
- Unique poll identifier.userId
- The user, who changed the answer to the poll.optionIds
- 0-based identifiers of answer options, chosen by the user.public int getConstructor()
getConstructor
in class TdApi.Update