Interface EncryptGroupCallData

Encrypts group call data before sending them over network using tgcalls. Request type for Tdjson#encryptGroupCallData.

interface EncryptGroupCallData {
    @type: "encryptGroupCallData";
    data: string;
    data_channel: GroupCallDataChannel;
    group_call_id: number;
    unencrypted_prefix_size: number;
}

Properties

@type: "encryptGroupCallData"
data: string

Data to encrypt.

data_channel: GroupCallDataChannel

Data channel for which data is encrypted.

group_call_id: number

Group call identifier. The call must not be a video chat.

unencrypted_prefix_size: number

Size of data prefix that must be kept unencrypted.