Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeBuyStars
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeBuyStars
- Enclosing class:
- TdApi
The link is a link to the Telegram Star purchase section of the application.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Purpose of Telegram Star purchase.long
The number of Telegram Stars that must be owned by the user. -
Constructor Summary
ConstructorsConstructorDescriptionThe link is a link to the Telegram Star purchase section of the application.InternalLinkTypeBuyStars
(long starCount, String purpose) The link is a link to the Telegram Star purchase section of the application. -
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
-
starCount
public long starCountThe 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
InternalLinkTypeBuyStars
public InternalLinkTypeBuyStars()The link is a link to the Telegram Star purchase section of the application. -
InternalLinkTypeBuyStars
The link is a link to the Telegram Star purchase section of the application.- Parameters:
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.
-
-
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
-