Interface CreateTonConnectSession

Creates a TON Connect session; can be used only if getOption("can_use_ton_wallet"). Request type for Tdjson#createTonConnectSession.

interface CreateTonConnectSession {
    @type: "createTonConnectSession";
    dapp_client_id: string;
    manifest_url: string;
}

Properties

@type: "createTonConnectSession"
dapp_client_id: string

Hex-encoded public X25519 key of the dApp.

manifest_url: string

URL of the manifest of the dApp.