Package org.drinkless.tdlib
Class TdApi.SuggestedPostPriceStar
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.SuggestedPostPrice
org.drinkless.tdlib.TdApi.SuggestedPostPriceStar
- Enclosing class:
- TdApi
Describes price of a suggested post in Telegram Stars.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
The amount of Telegram Stars agreed to pay for the post; getOption("suggested_post_star_count_min")-getOption("suggested_post_star_count_max"). -
Constructor Summary
ConstructorsConstructorDescriptionDescribes price of a suggested post in Telegram Stars.SuggestedPostPriceStar
(long starCount) Describes price of a suggested post in Telegram Stars. -
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 amount of Telegram Stars agreed to pay for the post; getOption("suggested_post_star_count_min")-getOption("suggested_post_star_count_max"). -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SuggestedPostPriceStar
public SuggestedPostPriceStar()Describes price of a suggested post in Telegram Stars. -
SuggestedPostPriceStar
public SuggestedPostPriceStar(long starCount) Describes price of a suggested post in Telegram Stars.- Parameters:
starCount
- The amount of Telegram Stars agreed to pay for the post; getOption("suggested_post_star_count_min")-getOption("suggested_post_star_count_max").
-
-
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
-