Class TdApi.GetPollVoteStatistics

Enclosing class:
TdApi

public static class TdApi.GetPollVoteStatistics extends TdApi.Function<TdApi.PollVoteStatistics>
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

    Fields
    Modifier and Type
    Field
    Description
    long
    Identifier of the chat to which the poll belongs.
    static final int
    Identifier uniquely determining type of the object.
    boolean
    Pass true if a dark theme is used by the application.
    long
    Identifier of the message containing the poll.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default 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 Type
    Method
    Description
    int
    Returns an identifier uniquely determining type of the object.

    Methods inherited from class org.drinkless.tdlib.TdApi.Function

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • chatId

      public long chatId
      Identifier of the chat to which the poll belongs.
    • messageId

      public long messageId
      Identifier of the message containing the poll. Use messageProperties.canGetPollVoteStatistics to check whether the method can be used for a message.
    • isDark

      public boolean isDark
      Pass true if a dark theme is used by the application.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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