Class TdApi.ChatRevenueTransactionTypeSuggestedPostEarnings

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.ChatRevenueTransactionType
org.drinkless.tdlib.TdApi.ChatRevenueTransactionTypeSuggestedPostEarnings
Enclosing class:
TdApi

public static class TdApi.ChatRevenueTransactionTypeSuggestedPostEarnings extends TdApi.ChatRevenueTransactionType
Describes earnings from a published suggested post.
  • Field Details

    • userId

      public long userId
      Identifier of the user that paid for the suggested post.
    • CONSTRUCTOR

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

    • ChatRevenueTransactionTypeSuggestedPostEarnings

      public ChatRevenueTransactionTypeSuggestedPostEarnings()
      Describes earnings from a published suggested post.
    • ChatRevenueTransactionTypeSuggestedPostEarnings

      public ChatRevenueTransactionTypeSuggestedPostEarnings(long userId)
      Describes earnings from a published suggested post.
      Parameters:
      userId - Identifier of the user that paid for the suggested post.
  • 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