public static class TdApi.UpdatePollAnswer extends TdApi.Update
| 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.
|
TdApi.MessageSender |
voterId
Identifier of the message sender that changed the answer to the poll.
|
| Constructor and Description |
|---|
UpdatePollAnswer()
A user changed the answer to a poll; for bots only.
|
UpdatePollAnswer(long pollId,
TdApi.MessageSender voterId,
int[] optionIds)
A user changed the answer to a poll; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long pollId
public TdApi.MessageSender voterId
public int[] optionIds
public static final int CONSTRUCTOR
public UpdatePollAnswer()
public UpdatePollAnswer(long pollId,
TdApi.MessageSender voterId,
int[] optionIds)
pollId - Unique poll identifier.voterId - Identifier of the message sender that changed the answer to the poll.optionIds - 0-based identifiers of answer options, chosen by the user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object