Skip to content

MessageGiftedStars

Type · TDLib 1.8.67 · d1085f9c

Telegram Stars were gifted to a user

MessageGiftedStars(
  gifter_user_id: int53,
  receiver_user_id: int53,
  currency: string,
  amount: int53,
  cryptocurrency: string,
  cryptocurrency_amount: int64,
  star_count: int53,
  transaction_id: string,
  sticker: Sticker
) → MessageContent

gifter_user_id

int53

The identifier of a user who gifted Telegram Stars; 0 if the gift was anonymous or is outgoing

receiver_user_id

int53

The identifier of a user who received Telegram Stars; 0 if the gift is incoming

currency

string

Currency for the paid amount

amount

int53

The paid amount, in the smallest units of the currency

cryptocurrency

string

Cryptocurrency used to pay for the gift; may be empty if none

cryptocurrency_amount

int64

The paid amount, in the smallest units of the cryptocurrency; 0 if none

star_count

int53

Number of Telegram Stars that were gifted

transaction_id

string

Identifier of the transaction for Telegram Stars purchase; for receiver only

sticker

Sticker

A sticker to be shown in the message; may be null if unknown