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; relevant for channel chats only.
  • Field Details

    • userId

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

      public long messageId
      Identifier of the corresponding message with paid media; may 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; relevant 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; relevant for channel chats only.
      Parameters:
      userId - Identifier of the user who bought the media.
      messageId - Identifier of the corresponding message with paid media; may be 0 or an identifier of a deleted message.
      media - The bought media.
  • Method Details