public static class TdApi.StarTransactionTypeChannelPaidMediaPurchase extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the channel chat that sent the paid media.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PaidMedia[] |
media
The bought media if the transaction wasn't refunded.
|
long |
messageId
Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.
|
| Constructor and Description |
|---|
StarTransactionTypeChannelPaidMediaPurchase()
The transaction is a purchase of paid media from a channel by the current user; for regular users only.
|
StarTransactionTypeChannelPaidMediaPurchase(long chatId,
long messageId,
TdApi.PaidMedia[] media)
The transaction is a purchase of paid media from a channel by the current user; for regular users only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.PaidMedia[] media
public static final int CONSTRUCTOR
public StarTransactionTypeChannelPaidMediaPurchase()
public StarTransactionTypeChannelPaidMediaPurchase(long chatId,
long messageId,
TdApi.PaidMedia[] media)
chatId - Identifier of the channel chat that sent the paid media.messageId - Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.media - The bought media if the transaction wasn't refunded.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object