Package org.drinkless.tdlib
Class TdApi.UpdatePollAnswer
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Update
org.drinkless.tdlib.TdApi.UpdatePollAnswer
- Enclosing class:
- TdApi
A user changed the answer to a poll; for bots only.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.int[]0-based identifiers of answer options, chosen by the user.longUnique poll identifier.Identifier of the message sender that changed the answer to the poll. -
Constructor Summary
ConstructorsConstructorDescriptionA 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. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
pollId
public long pollIdUnique poll identifier. -
voterId
Identifier of the message sender that changed the answer to the poll. -
optionIds
public int[] optionIds0-based identifiers of answer options, chosen by the user. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdatePollAnswer
public UpdatePollAnswer()A user changed the answer to a poll; for bots only. -
UpdatePollAnswer
A user changed the answer to a poll; for bots only.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-