GramTransfer

class pyrogram.types.GramTransfer[source]

A Gram transfer service message.

Parameters:
  • amount (int) – Amount of nano-TON transferred.

  • peer_address (str) – Target blockchain address.

  • transaction_id (str) – Transaction identifier.

  • comment (str, optional) – Transfer comment or memo.

  • comment_encrypted (bool, optional) – Whether the comment is encrypted.