Package org.drinkless.tdlib
Class TdApi.StarSubscriptionTypeBot
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.StarSubscriptionType
org.drinkless.tdlib.TdApi.StarSubscriptionTypeBot
- Enclosing class:
- TdApi
Describes a subscription in a bot or a business account.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.The link to the subscription invoice.boolean
True, if the subscription was canceled by the bot and can't be extended.Subscription invoice photo.Subscription invoice title. -
Constructor Summary
ConstructorsConstructorDescriptionDescribes a subscription in a bot or a business account.StarSubscriptionTypeBot
(boolean isCanceledByBot, String title, TdApi.Photo photo, String invoiceLink) Describes a subscription in a bot or a business account. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
isCanceledByBot
public boolean isCanceledByBotTrue, if the subscription was canceled by the bot and can't be extended. -
title
Subscription invoice title. -
photo
Subscription invoice photo. -
invoiceLink
The link to the subscription invoice. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StarSubscriptionTypeBot
public StarSubscriptionTypeBot()Describes a subscription in a bot or a business account. -
StarSubscriptionTypeBot
public StarSubscriptionTypeBot(boolean isCanceledByBot, String title, TdApi.Photo photo, String invoiceLink) Describes a subscription in a bot or a business account.- Parameters:
isCanceledByBot
- True, if the subscription was canceled by the bot and can't be extended.title
- Subscription invoice title.photo
- Subscription invoice photo.invoiceLink
- The link to the subscription invoice.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-