tonConnectSession
Signature
Section titled “Signature”tonConnectSession#126556c6 flags:# pending:flags.0?true closing:flags.1?true closed:flags.2?true id:long dapp_client_id:string client_id:flags.3?string nonce:bytes manifest:flags.4?TonConnectManifest manifest_error:flags.5?int date:int = TonConnectSession;Result type
Section titled “Result type”TonConnectSession
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| pending | flags.0?true | flags.0 | — | |
| closing | flags.1?true | flags.1 | — | |
| closed | flags.2?true | flags.2 | — | |
| id | long | — | — | |
| dapp_client_id | string | — | — | |
| client_id | flags.3?string | flags.3 | — | |
| nonce | bytes | — | — | |
| manifest | flags.4?TonConnectManifest | flags.4 | — | |
| manifest_error | flags.5?int | flags.5 | — | |
| date | int | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| pending | 0 | Controlled by flags; present when this bit is set. |
| closing | 1 | Controlled by flags; present when this bit is set. |
| closed | 2 | Controlled by flags; present when this bit is set. |
| client_id | 3 | Controlled by flags; present when this bit is set. |
| manifest | 4 | Controlled by flags; present when this bit is set. |
| manifest_error | 5 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.types import TonConnectSessionPublic access: miniproto.raw.types.TonConnectSession.
Result family
Section titled “Result family”Relationships
Section titled “Relationships”- Result family:
TonConnectSession - Accepted by:
updateWalletTonConnectSession,wallet.tonConnectPending,wallet.tonConnectSessions - Returned by:
wallet.tonConnectCreateSession