public static class TdApi.StarSubscriptionTypeBot extends TdApi.StarSubscriptionType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
invoiceLink
The link to the subscription invoice.
|
boolean |
isCanceledByBot
True, if the subscription was canceled by the bot and can't be extended.
|
TdApi.Photo |
photo
Subscription invoice photo.
|
java.lang.String |
title
Subscription invoice title.
|
| Constructor and Description |
|---|
StarSubscriptionTypeBot()
Describes a subscription in a bot or a business account.
|
StarSubscriptionTypeBot(boolean isCanceledByBot,
java.lang.String title,
TdApi.Photo photo,
java.lang.String invoiceLink)
Describes a subscription in a bot or a business account.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic boolean isCanceledByBot
public java.lang.String title
public TdApi.Photo photo
public java.lang.String invoiceLink
public static final int CONSTRUCTOR
public StarSubscriptionTypeBot()
public StarSubscriptionTypeBot(boolean isCanceledByBot,
java.lang.String title,
TdApi.Photo photo,
java.lang.String invoiceLink)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object