Package org.drinkless.tdlib
Class TdApi.GetPollOptionProperties
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PollOptionProperties>
org.drinkless.tdlib.TdApi.GetPollOptionProperties
- Enclosing class:
TdApi
public static class TdApi.GetPollOptionProperties
extends TdApi.Function<TdApi.PollOptionProperties>
Returns properties of a poll option. This is an offline method.
Returns PollOptionProperties
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongChat identifier.static final intIdentifier uniquely determining type of the object.longIdentifier of the message.Unique identifier of the answer option, which properties will be returned. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns properties of a poll option.GetPollOptionProperties(long chatId, long messageId, String pollOptionId) Creates a function, which returns properties of a poll option. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdIdentifier of the message. -
pollOptionId
Unique identifier of the answer option, which properties will be returned. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPollOptionProperties
public GetPollOptionProperties()Default constructor for a function, which returns properties of a poll option. This is an offline method.Returns
PollOptionProperties -
GetPollOptionProperties
Creates a function, which returns properties of a poll option. This is an offline method.Returns
PollOptionProperties- Parameters:
chatId- Chat identifier.messageId- Identifier of the message.pollOptionId- Unique identifier of the answer option, which properties will be returned.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Function<TdApi.PollOptionProperties>- Returns:
- this.CONSTRUCTOR
-