Class TdApi.StarTransactionTypeChannelPaidMediaSale

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

public static class TdApi.StarTransactionTypeChannelPaidMediaSale extends TdApi.StarTransactionType
The transaction is a sale of paid media by the channel chat; for channel chats only.
  • Field Details

    • userId

      public long userId
      Identifier of the user that bought the media.
    • messageId

      public long messageId
      Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.
    • media

      public TdApi.PaidMedia[] media
      The bought media.
    • CONSTRUCTOR

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

    • StarTransactionTypeChannelPaidMediaSale

      public StarTransactionTypeChannelPaidMediaSale()
      The transaction is a sale of paid media by the channel chat; for channel chats only.
    • StarTransactionTypeChannelPaidMediaSale

      public StarTransactionTypeChannelPaidMediaSale(long userId, long messageId, TdApi.PaidMedia[] media)
      The transaction is a sale of paid media by the channel chat; for channel chats only.
      Parameters:
      userId - Identifier of the user that bought the media.
      messageId - Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.
      media - The bought media.
  • 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