Class TdApi.StorePaymentPurposeGiftedStars
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.StorePaymentPurpose
dev.voroby.springframework.telegram.client.TdApi.StorePaymentPurposeGiftedStars
- Enclosing class:
- TdApi
The user buying Telegram Stars for other users.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Paid amount, in the smallest units of the currency.static final int
Identifier uniquely determining type of the object.ISO 4217 currency code of the payment currency.long
Number of bought Telegram Stars.long
Identifier of the user to which Telegram Stars are gifted. -
Constructor Summary
ConstructorDescriptionThe user buying Telegram Stars for other users.StorePaymentPurposeGiftedStars
(long userId, String currency, long amount, long starCount) The user buying Telegram Stars for other users. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
userId
public long userIdIdentifier of the user to which Telegram Stars are gifted. -
currency
ISO 4217 currency code of the payment currency. -
amount
public long amountPaid amount, in the smallest units of the currency. -
starCount
public long starCountNumber of bought Telegram Stars. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
StorePaymentPurposeGiftedStars
public StorePaymentPurposeGiftedStars()The user buying Telegram Stars for other users. -
StorePaymentPurposeGiftedStars
The user buying Telegram Stars for other users.- Parameters:
userId
- Identifier of the user to which Telegram Stars are gifted.currency
- ISO 4217 currency code of the payment currency.amount
- Paid amount, in the smallest units of the currency.starCount
- Number of bought Telegram Stars.
-
-
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
-