updateGroupCallConnection

Connection parameters returned after joining a group call, see presentations » and stream mode ».

If presentation is set, the parameters belong to the separate presentation connection; otherwise they belong to the main connection.

For a normal WebRTC connection, pass params to the local tgcalls group-call engine as its join response payload.

For stream-mode calls, where the client plays the call by downloading media chunks » instead of using WebRTC, params instead has one of the following shapes:

{
  "stream": true
}

for a call that entered stream mode, or

{
  "stream": true,
  "rtmp": true
}

for an RTMP-mode call.

updateGroupCallConnection#b783982 flags:# presentation:flags.0?true params:DataJSON = Update;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
presentation flags.0?true Whether these parameters belong to the separate presentation connection instead of the main connection
params DataJSON RTC join response parameters or broadcast-stream metadata, as described above

Type

Update

Related pages

Group calls

How to start, join and manage group calls and video chats.