Skip to content

TelegramPaymentPurposeGiftedStars

Type · TDLib 1.8.67 · d1085f9c

The user buying Telegram Stars for other users

TelegramPaymentPurposeGiftedStars(
  user_id: int53,
  currency: string,
  amount: int53,
  star_count: int53
) → TelegramPaymentPurpose

user_id

int53

Identifier of the user to which Telegram Stars are gifted

currency

string

ISO 4217 currency code of the payment currency

amount

int53

Paid amount, in the smallest units of the currency

star_count

int53

Number of bought Telegram Stars