TonWalletTransfer

class pyrogram.types.TonWalletTransfer[source]

A transfer with the TON wallet of the current user.

Parameters:
  • sender (User, optional) – Sender of the transfer.

  • transaction_id (str) – Unique identifier of the transaction.

  • peer_address (str) – Address of the transaction peer in the TON blockchain.

  • amount (int) – The transferred amount, in the smallest units of the cryptocurrency.

  • comment (str, optional) – Comment added to the transaction.

  • is_comment_encrypted (bool, optional) – True, if the comment is encrypted and must be decrypted with the receiver’s or sender’s private key.