public static class TdApi.TelegramPaymentPurposeGiftedStars extends TdApi.TelegramPaymentPurpose
| Modifier and Type | Field and Description |
|---|---|
long |
amount
Paid amount, in the smallest units of the currency.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
currency
ISO 4217 currency code of the payment currency.
|
long |
starCount
Number of bought Telegram Stars.
|
long |
userId
Identifier of the user to which Telegram Stars are gifted.
|
| Constructor and Description |
|---|
TelegramPaymentPurposeGiftedStars()
The user buying Telegram Stars for other users.
|
TelegramPaymentPurposeGiftedStars(long userId,
java.lang.String currency,
long amount,
long starCount)
The user buying Telegram Stars for other users.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long userId
public java.lang.String currency
public long amount
public long starCount
public static final int CONSTRUCTOR
public TelegramPaymentPurposeGiftedStars()
public TelegramPaymentPurposeGiftedStars(long userId,
java.lang.String currency,
long amount,
long starCount)
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object