Package org.drinkless.tdlib
Class TdApi.InternalLinkTypeStarPurchase
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InternalLinkType
org.drinkless.tdlib.TdApi.InternalLinkTypeStarPurchase
- Enclosing class:
TdApi
The link is a link to the Telegram Star purchase section of the application.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.InternalLinkType
TdApi.InternalLinkType.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Purpose of Telegram Star purchase.longThe 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.InternalLinkTypeStarPurchase(long starCount, String purpose) The link is a link to the Telegram Star purchase section of the application. -
Method Summary
Modifier and TypeMethodDescriptionintReturns 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
-
InternalLinkTypeStarPurchase
public InternalLinkTypeStarPurchase()The link is a link to the Telegram Star purchase section of the application. -
InternalLinkTypeStarPurchase
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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.InternalLinkType- Returns:
- this.CONSTRUCTOR
-