Package org.drinkless.tdlib
Class TdApi.GetPollVoteStatistics
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.PollVoteStatistics>
org.drinkless.tdlib.TdApi.GetPollVoteStatistics
- Enclosing class:
TdApi
Returns statistics of poll votes in a poll.
Returns PollVoteStatistics
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.Function
TdApi.Function.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat to which the poll belongs.static final intIdentifier uniquely determining type of the object.booleanPass true if a dark theme is used by the application.longIdentifier of the message containing the poll. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which returns statistics of poll votes in a poll.GetPollVoteStatistics(long chatId, long messageId, boolean isDark) Creates a function, which returns statistics of poll votes in a poll. -
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 chatIdIdentifier of the chat to which the poll belongs. -
messageId
public long messageIdIdentifier of the message containing the poll. Use messageProperties.canGetPollVoteStatistics to check whether the method can be used for a message. -
isDark
public boolean isDarkPass true if a dark theme is used by the application. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
GetPollVoteStatistics
public GetPollVoteStatistics()Default constructor for a function, which returns statistics of poll votes in a poll.Returns
PollVoteStatistics -
GetPollVoteStatistics
public GetPollVoteStatistics(long chatId, long messageId, boolean isDark) Creates a function, which returns statistics of poll votes in a poll.Returns
PollVoteStatistics- Parameters:
chatId- Identifier of the chat to which the poll belongs.messageId- Identifier of the message containing the poll. Use messageProperties.canGetPollVoteStatistics to check whether the method can be used for a message.isDark- Pass true if a dark theme is used by the application.
-
-
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.PollVoteStatistics>- Returns:
- this.CONSTRUCTOR
-