StorePaymentPurposePremiumGift¶
The user gifting Telegram Premium to another user
StorePaymentPurposePremiumGift(
currency: string,
amount: int53,
user_id: int53,
text: FormattedText
) → StorePaymentPurpose
currency¶
string
ISO 4217 currency code of the payment currency
amount¶
int53
Paid amount, in the smallest units of the currency
user_id¶
int53
Identifier of the user who will receive Telegram Premium
text¶
Text to show along with the gift codes; 0-getOption("gift_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed