Class TdApi.GetDirectMessagesChatTopicRevenue

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.Function<TdApi.StarCount>
org.drinkless.tdlib.TdApi.GetDirectMessagesChatTopicRevenue
Enclosing class:
TdApi

public static class TdApi.GetDirectMessagesChatTopicRevenue extends TdApi.Function<TdApi.StarCount>
Returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.

Returns StarCount

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier of the channel direct messages chat administered by the current user.
    static final int
    Identifier uniquely determining type of the object.
    long
    Identifier of the topic.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.
    GetDirectMessagesChatTopicRevenue(long chatId, long topicId)
    Creates a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.
  • 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
      Chat identifier of the channel direct messages chat administered by the current user.
    • topicId

      public long topicId
      Identifier of the topic.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • GetDirectMessagesChatTopicRevenue

      public GetDirectMessagesChatTopicRevenue()
      Default constructor for a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.

      Returns StarCount

    • GetDirectMessagesChatTopicRevenue

      public GetDirectMessagesChatTopicRevenue(long chatId, long topicId)
      Creates a function, which returns the total number of Telegram Stars received by the channel chat for direct messages from the given topic.

      Returns StarCount

      Parameters:
      chatId - Chat identifier of the channel direct messages chat administered by the current user.
      topicId - Identifier of the topic.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR