public static class TdApi.StarTransactionTypeChannelPaidMediaSale extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PaidMedia[] |
media
The bought media.
|
long |
messageId
Identifier of the corresponding message with paid media; can be 0 or an identifier of a deleted message.
|
long |
userId
Identifier of the user that bought the media.
|
| Constructor and Description |
|---|
StarTransactionTypeChannelPaidMediaSale()
The transaction is a sale of paid media by the channel chat; for channel chats only.
|
StarTransactionTypeChannelPaidMediaSale(long userId,
long messageId,
TdApi.PaidMedia[] media)
The transaction is a sale of paid media by the channel chat; for channel chats only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public long messageId
public TdApi.PaidMedia[] media
public static final int CONSTRUCTOR
public StarTransactionTypeChannelPaidMediaSale()
public StarTransactionTypeChannelPaidMediaSale(long userId,
long messageId,
TdApi.PaidMedia[] media)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object