Class TdApi.StarTransactionTypeBotPaidMediaPurchase

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarTransactionType
org.drinkless.tdlib.TdApi.StarTransactionTypeBotPaidMediaPurchase
Enclosing class:
TdApi

public static class TdApi.StarTransactionTypeBotPaidMediaPurchase extends TdApi.StarTransactionType
The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
  • Field Details

    • userId

      public long userId
      Identifier of the bot or the business account user that sent the paid media.
    • media

      public TdApi.PaidMedia[] media
      The bought media if the transaction wasn't refunded.
    • CONSTRUCTOR

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

    • StarTransactionTypeBotPaidMediaPurchase

      public StarTransactionTypeBotPaidMediaPurchase()
      The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
    • StarTransactionTypeBotPaidMediaPurchase

      public StarTransactionTypeBotPaidMediaPurchase(long userId, TdApi.PaidMedia[] media)
      The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only.
      Parameters:
      userId - Identifier of the bot or the business account user that sent the paid media.
      media - The bought media if the transaction wasn't refunded.
  • 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