Interface TonConnectRequest

Represents a pending TON Connect request.

interface TonConnectRequest {
    @type: "tonConnectRequest";
    body: string;
    expiration_date: number;
    message_id: number;
    session_id: string;
    topic: string;
    trace_id: string;
}

Properties

@type: "tonConnectRequest"
body: string

Body of the request.

expiration_date: number

Point in time (Unix timestamp) when the request will expire; 0 if never.

message_id: number

Unique identifier of the service message in the chat 777000 with the request.

session_id: string

Unique identifier of the session.

topic: string

Topic of the request; may be empty if none.

trace_id: string

Identifier to trace the request; may be empty if none.