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
| Name | Type | Required | Description |
|---|---|---|---|
Currency | string | yes | Name of a localized FIAT currency. |
Amount | int64 | yes | FIAT currency equivalent (in the currency specified in currency) of the amount specified in crypto_amount. |
CryptoCurrency | string | yes | Name of the cryptocurrency. |
CryptoAmount | int64 | yes | Amount in the smallest unit of the cryptocurrency (for TONs, one billionth of a ton, AKA a nanoton). |
TransactionID | string | — | Transaction ID. |
References
- Official documentation
- Generated Go reference
- TL definition:
messageActionGiftTon#a8a3c699