Interface CallProtocol

Specifies the supported call protocols.

interface CallProtocol {
    @type: "callProtocol";
    library_versions: string[];
    max_layer: number;
    min_layer: number;
    udp_p2p?: boolean;
    udp_reflector?: boolean;
}

Properties

@type: "callProtocol"
library_versions: string[]

List of supported tgcalls versions.

max_layer: number

The maximum supported API layer; use 92.

min_layer: number

The minimum supported API layer; use 65.

udp_p2p?: boolean

True, if UDP peer-to-peer connections are supported.

udp_reflector?: boolean

True, if connection through UDP reflectors is supported.