messageActionGiftTon

You were gifted some toncoins.

This service message should be displayed below the appropriate sticker from the inputStickerSetTonGifts » stickerset »:

  • If crypto_amount <= 10_000_000_000, choose the sticker with emoji equal to "2️⃣"
  • If crypto_amount <= 50_000_000_000, choose the sticker with emoji equal to "1️⃣"
  • Otherwise, choose the sticker with emoji equal to "3️⃣"

messageActionGiftTon#a8a3c699 flags:# currency:string amount:long crypto_currency:string crypto_amount:long transaction_id:flags.0?string = MessageAction;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
currency string Name of a localized FIAT currency.
amount long FIAT currency equivalent (in the currency specified in currency) of the amount specified in crypto_amount.
crypto_currency string Name of the cryptocurrency.
crypto_amount long Amount in the smallest unit of the cryptocurrency (for TONs, one billionth of a ton, AKA a nanoton).
transaction_id flags.0?string Transaction ID.

Type

MessageAction

Related pages

inputStickerSetTonGifts

TON gifts stickerset.

Stickers

Telegram clients support displaying static and animated stickers.