Interface GroupCall

Describes a group call.

interface GroupCall {
    @type: "groupCall";
    can_be_managed?: boolean;
    can_enable_video?: boolean;
    can_toggle_mute_new_participants?: boolean;
    duration: number;
    enabled_start_notification?: boolean;
    has_hidden_listeners?: boolean;
    id: number;
    is_active?: boolean;
    is_joined?: boolean;
    is_my_video_enabled?: boolean;
    is_my_video_paused?: boolean;
    is_rtmp_stream?: boolean;
    is_video_recorded?: boolean;
    loaded_all_participants?: boolean;
    mute_new_participants?: boolean;
    need_rejoin?: boolean;
    participant_count: number;
    recent_speakers: GroupCallRecentSpeaker[];
    record_duration: number;
    scheduled_start_date: number;
    title: string;
}

Properties

@type: "groupCall"
can_be_managed?: boolean

True, if the current user can manage the group call.

can_enable_video?: boolean

True, if the current user can broadcast video or share screen.

can_toggle_mute_new_participants?: boolean

True, if the current user can enable or disable mute_new_participants setting.

duration: number

Call duration, in seconds; for ended calls only.

enabled_start_notification?: boolean

True, if the group call is scheduled and the current user will receive a notification when the group call starts.

has_hidden_listeners?: boolean

True, if group call participants, which are muted, aren't returned in participant list.

id: number

Group call identifier.

is_active?: boolean

True, if the call is active.

is_joined?: boolean

True, if the call is joined.

is_my_video_enabled?: boolean

True, if the current user's video is enabled.

is_my_video_paused?: boolean

True, if the current user's video is paused.

is_rtmp_stream?: boolean

True, if the chat is an RTMP stream instead of an ordinary video chat.

is_video_recorded?: boolean

True, if a video file is being recorded for the call.

loaded_all_participants?: boolean

True, if all group call participants are loaded.

mute_new_participants?: boolean

True, if only group call administrators can unmute new participants.

need_rejoin?: boolean

True, if user was kicked from the call because of network loss and the call needs to be rejoined.

participant_count: number

Number of participants in the group call.

recent_speakers: GroupCallRecentSpeaker[]

At most 3 recently speaking users in the group call.

record_duration: number

Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on.

scheduled_start_date: number

Point in time (Unix timestamp) when the group call is expected to be started by an administrator; 0 if it is already active or was ended.

title: string

Group call title.