public static class TdApi.PremiumState extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
TdApi.PremiumFeaturePromotionAnimation[] |
animations
The list of available promotion animations for Premium features.
|
TdApi.BusinessFeaturePromotionAnimation[] |
businessAnimations
The list of available promotion animations for Business features.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.PremiumStatePaymentOption[] |
paymentOptions
The list of available options for buying Telegram Premium.
|
TdApi.FormattedText |
state
Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.
|
| Constructor and Description |
|---|
PremiumState()
Contains state of Telegram Premium subscription and promotion videos for Premium features.
|
PremiumState(TdApi.FormattedText state,
TdApi.PremiumStatePaymentOption[] paymentOptions,
TdApi.PremiumFeaturePromotionAnimation[] animations,
TdApi.BusinessFeaturePromotionAnimation[] businessAnimations)
Contains state of Telegram Premium subscription and promotion videos for Premium features.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.FormattedText state
public TdApi.PremiumStatePaymentOption[] paymentOptions
public TdApi.PremiumFeaturePromotionAnimation[] animations
public TdApi.BusinessFeaturePromotionAnimation[] businessAnimations
public static final int CONSTRUCTOR
public PremiumState()
public PremiumState(TdApi.FormattedText state, TdApi.PremiumStatePaymentOption[] paymentOptions, TdApi.PremiumFeaturePromotionAnimation[] animations, TdApi.BusinessFeaturePromotionAnimation[] businessAnimations)
state - Text description of the state of the current Premium subscription; may be empty if the current user has no Telegram Premium subscription.paymentOptions - The list of available options for buying Telegram Premium.animations - The list of available promotion animations for Premium features.businessAnimations - The list of available promotion animations for Business features.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object