Class TdApi.GetChatRevenueTransactions

Enclosing class:
TdApi

public static class TdApi.GetChatRevenueTransactions extends TdApi.Function<TdApi.ChatRevenueTransactions>
Returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true or bots if userFullInfo.botInfo.canGetRevenueStatistics == true.

Returns ChatRevenueTransactions

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    long
    Chat identifier.
    static final int
    Identifier uniquely determining type of the object.
    int
    The maximum number of transactions to be returned; up to 100.
    Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for a function, which returns the list of revenue transactions for a chat.
    GetChatRevenueTransactions(long chatId, String offset, int limit)
    Creates a function, which returns the list of revenue transactions for a chat.
  • 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.
    • offset

      public String offset
      Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
    • limit

      public int limit
      The maximum number of transactions to be returned; up to 100.
    • CONSTRUCTOR

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

    • GetChatRevenueTransactions

      public GetChatRevenueTransactions()
      Default constructor for a function, which returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true or bots if userFullInfo.botInfo.canGetRevenueStatistics == true.

      Returns ChatRevenueTransactions

    • GetChatRevenueTransactions

      public GetChatRevenueTransactions(long chatId, String offset, int limit)
      Creates a function, which returns the list of revenue transactions for a chat. Currently, this method can be used only for channels if supergroupFullInfo.canGetRevenueStatistics == true or bots if userFullInfo.botInfo.canGetRevenueStatistics == true.

      Returns ChatRevenueTransactions

      Parameters:
      chatId - Chat identifier.
      offset - Offset of the first transaction to return as received from the previous request; use empty string to get the first chunk of results.
      limit - The maximum number of transactions to be returned; up to 100.
  • 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