Layer 231
MessageActionWalletTonConnectRequest
A TON Connect request from a d App to the user's wallet.
constructor
messageActionWalletTonConnectRequest#69b8c4bf flags:# accepted:flags.2?true declined:flags.3?true session_id:long expires:int topic:flags.0?string trace_id:flags.1?string dapp_name:flags.4?string = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Accepted | flags.2?true | Whether the request was accepted |
| Declined | flags.3?true | Whether the request was declined |
| SessionId | long | TON Connect session ID |
| Expires | int | When the request expires |
| Topic | flags.0?string | Request topic, e. g. the requested operation |
| TraceId | flags.1?string | Trace ID of the request |
| DappName | flags.4?string | Name of the d App |
Returns
MessageActionGogram Example
// Creating MessageActionWalletTonConnectRequest constructor obj := &tg.MessageActionWalletTonConnectRequest{ SessionId: int64(1234567890), Expires: 42, // Optional fields: // Accepted: true, // Declined: true, // Topic: "example", // TraceId: "example", // ... more optional fields }