Skip to content

StorePaymentPurposeStars

Type · TDLib 1.8.67 · d1085f9c

The user buying Telegram Stars

StorePaymentPurposeStars(
  currency: string,
  amount: int53,
  star_count: int53,
  chat_id: int53
) → StorePaymentPurpose

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

chat_id

int53

Identifier of the chat that is supposed to receive the Telegram Stars; pass 0 if none