TonConnectRequest

class pyrogram.types.TonConnectRequest[source]

A request from a dApp received through TON Connect.

Parameters:
  • session_id (int) – Unique identifier of the TON Connect session.

  • expiration_date (datetime) – Date the request expires.

  • is_accepted (bool, optional) – True, if the request was accepted.

  • is_declined (bool, optional) – True, if the request was declined.

  • dapp_name (str, optional) – Name of the dApp.

  • topic (str, optional) – Topic of the request.

  • trace_id (str, optional) – Identifier to trace the request.