Interface CallStateReady

The call is ready to use. Subtype of CallState.

interface CallStateReady {
    @type: "callStateReady";
    allow_p2p?: boolean;
    config: string;
    custom_parameters: string;
    emojis: string[];
    encryption_key: string;
    protocol: CallProtocol;
    servers: CallServer[];
}

Properties

@type: "callStateReady"
allow_p2p?: boolean

True, if peer-to-peer connection is allowed by users privacy settings.

config: string

A JSON-encoded call config.

custom_parameters: string

Custom JSON-encoded call parameters to be passed to tgcalls.

emojis: string[]

Encryption key fingerprint represented as 4 emoji.

encryption_key: string

Call encryption key.

protocol: CallProtocol

Call protocols supported by the other call participant.

servers: CallServer[]

List of available call servers.