Skip to content

MessageGiftedGrams

Type · TDLib 1.8.67 · d1085f9c

TON Grams were gifted to a user

MessageGiftedGrams(
  gifter_user_id: int53,
  receiver_user_id: int53,
  gram_amount: int53,
  transaction_id: string,
  sticker: Sticker
) → MessageContent

gifter_user_id

int53

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

receiver_user_id

int53

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

gram_amount

int53

The received Gram amount, in the smallest units of the cryptocurrency

transaction_id

string

Identifier of the transaction for Gram credit; for receiver only

sticker

Sticker

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