Skip to main content

messageActionGiftTon

You were gifted some toncoins. This service message should be displayed below the appropriate sticker from the inputStickerSetTonGifts » stickerset »:

type tg.MessageActionGiftTon struct { /* ... */ }

Implements MessageAction.

Fields

NameTypeRequiredDescription
CurrencystringyesName of a localized FIAT currency.
Amountint64yesFIAT currency equivalent (in the currency specified in currency) of the amount specified in crypto_amount.
CryptoCurrencystringyesName of the cryptocurrency.
CryptoAmountint64yesAmount in the smallest unit of the cryptocurrency (for TONs, one billionth of a ton, AKA a nanoton).
TransactionIDstringTransaction ID.

References