Interface DisconnectTonConnectSession

Closes a TON Connect session. Request type for Tdjson#disconnectTonConnectSession.

interface DisconnectTonConnectSession {
    @type: "disconnectTonConnectSession";
    body: string;
    session_id: string;
}

Properties

Properties

@type: "disconnectTonConnectSession"
body: string

Encrypted body of the disconnect event; may be empty if the session has already been closed. Use getTonConnectSessionNextEventId to get event identifier for the event.

session_id: string

Unique identifier of the TON Connect session to close.