public static class TdApi.InternalLinkTypeBuyStars extends TdApi.InternalLinkType
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
purpose
Purpose of Telegram Star purchase.
|
long |
starCount
The number of Telegram Stars that must be owned by the user.
|
| Constructor and Description |
|---|
InternalLinkTypeBuyStars()
The link is a link to the Telegram Star purchase section of the application.
|
InternalLinkTypeBuyStars(long starCount,
java.lang.String purpose)
The link is a link to the Telegram Star purchase section of the application.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long starCount
public java.lang.String purpose
public static final int CONSTRUCTOR
public InternalLinkTypeBuyStars()
public InternalLinkTypeBuyStars(long starCount,
java.lang.String purpose)
starCount - The number of Telegram Stars that must be owned by the user.purpose - Purpose of Telegram Star purchase. Arbitrary string specified by the server, for example, "subs" if the Telegram Stars are required to extend channel subscriptions.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object