Skip to content

encryptGroupCallData

Function · TDLib 1.8.67 · d1085f9c

Encrypts group call data before sending them over network using tgcalls

encryptGroupCallData(
  group_call_id: int32,
  data_channel: GroupCallDataChannel,
  data: bytes,
  unencrypted_prefix_size: int32
) → Data

group_call_id

int32

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

data_channel

GroupCallDataChannel

Data channel for which data is encrypted

data

bytes

Data to encrypt

unencrypted_prefix_size

int32

Size of data prefix that must be kept unencrypted