public static class TdApi.StarTransactionTypeChannelSubscriptionPurchase extends TdApi.StarTransactionType
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the channel chat that created the subscription.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
subscriptionPeriod
The number of seconds between consecutive Telegram Star debitings.
|
| Constructor and Description |
|---|
StarTransactionTypeChannelSubscriptionPurchase()
The transaction is a purchase of a subscription to a channel chat by the current user; for regular users only.
|
StarTransactionTypeChannelSubscriptionPurchase(long chatId,
int subscriptionPeriod)
The transaction is a purchase of a subscription to a channel chat 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 int subscriptionPeriod
public static final int CONSTRUCTOR
public StarTransactionTypeChannelSubscriptionPurchase()
public StarTransactionTypeChannelSubscriptionPurchase(long chatId,
int subscriptionPeriod)
chatId - Identifier of the channel chat that created the subscription.subscriptionPeriod - The number of seconds between consecutive Telegram Star debitings.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object