MessageActionGiftTon#

class pyrogram.raw.types.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 “”
If crypto_amount <= 50_000_000_000, choose the sticker with emoji equal to “”
Otherwise, choose the sticker with emoji equal to “”

Constructor of MessageAction.

Details:
  • Layer: 220

  • ID: A8A3C699

Parameters:
currency (str):

Name of a localized FIAT currency.

amount (int 64-bit):

FIAT currency equivalent (in the currency specified in currency) of the amount specified in crypto_amount.

crypto_currency (str):

Name of the cryptocurrency.

crypto_amount (int 64-bit):

Amount in the smallest unit of the cryptocurrency (for TONs, one billionth of a ton, AKA a nanoton).

transaction_id (str, optional):

Transaction ID.