telegram api constructor · layer 229 · #a8a3c699

messageActionGiftTon

You were gifted some toncoins.

definition

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

parameters

nametypedescription
flags#Flags, see TL conditional fields
currencystringName of a localized FIAT currency.
amountlongFIAT currency equivalent (in the currency specified in currency) of the amount specified in crypto_amount.
crypto_currencystringName of the cryptocurrency.
crypto_amountlongAmount in the smallest unit of the cryptocurrency (for TONs, one billionth of a ton, AKA a nanoton).
transaction_idflags.0?stringTransaction ID.

type

MessageAction · 68 other constructors

history

present in layers 206–229

idlayers
#a8a3c699206–229