Class TdApi.ChatRevenueTransactionTypeWithdrawal

Enclosing class:
TdApi

public static class TdApi.ChatRevenueTransactionTypeWithdrawal extends TdApi.ChatRevenueTransactionType
Describes a withdrawal of earnings.
  • Field Details

    • withdrawalDate

      public int withdrawalDate
      Point in time (Unix timestamp) when the earnings withdrawal started.
    • provider

      public String provider
      Name of the payment provider.
    • state

      State of the withdrawal.
    • CONSTRUCTOR

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

    • ChatRevenueTransactionTypeWithdrawal

      public ChatRevenueTransactionTypeWithdrawal()
      Describes a withdrawal of earnings.
    • ChatRevenueTransactionTypeWithdrawal

      public ChatRevenueTransactionTypeWithdrawal(int withdrawalDate, String provider, TdApi.RevenueWithdrawalState state)
      Describes a withdrawal of earnings.
      Parameters:
      withdrawalDate - Point in time (Unix timestamp) when the earnings withdrawal started.
      provider - Name of the payment provider.
      state - State of the withdrawal.
  • 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