Interface SendTonConnectSessionConnectResult

Accepts or rejects a TON Connect session. Request type for Tdjson#sendTonConnectSessionConnectResult.

interface SendTonConnectSessionConnectResult {
    @type: "sendTonConnectSessionConnectResult";
    body: string;
    challenge_answer: string;
    is_error?: boolean;
    session_id: string;
    trace_id: string;
}

Properties

@type: "sendTonConnectSessionConnectResult"
body: string

Body of the result.

challenge_answer: string

Answer to the challenge received from setTonConnectSessionWalletClientId.

is_error?: boolean

Pass true to reject the request; pass false to accept it.

session_id: string

Unique identifier of the session.

trace_id: string

Identifier to trace the connection request.