Interface SetTonConnectSessionWalletClientId

Sets wallet_client_id for a pending TON Connect session. Then, sendTonConnectSessionConnectResult must be used to accept or reject the session. If the session was created for an OAuth request, then acceptOauthRequest must be used instead. Request type for Tdjson#setTonConnectSessionWalletClientId.

interface SetTonConnectSessionWalletClientId {
    @type: "setTonConnectSessionWalletClientId";
    session_id: string;
    wallet_client_id: string;
}

Properties

@type: "setTonConnectSessionWalletClientId"
session_id: string

Unique identifier of the session.

wallet_client_id: string

Hex-encoded public X25519 key of the current user's application calculated from the TON wallet private key and session parameters.