Skip to content

GroupCall

Type · TDLib 1.8.67 · d1085f9c

Describes a group call

GroupCall(
  id: int32,
  unique_id: int64,
  title: string,
  invite_link: string,
  paid_message_star_count: int53,
  scheduled_start_date: int32,
  enabled_start_notification: Bool,
  is_active: Bool,
  is_video_chat: Bool,
  is_live_story: Bool,
  is_rtmp_stream: Bool,
  is_joined: Bool,
  need_rejoin: Bool,
  is_owned: Bool,
  can_be_managed: Bool,
  participant_count: int32,
  has_hidden_listeners: Bool,
  loaded_all_participants: Bool,
  message_sender_id: MessageSender,
  recent_speakers: list of GroupCallRecentSpeaker,
  is_my_video_enabled: Bool,
  is_my_video_paused: Bool,
  can_enable_video: Bool,
  mute_new_participants: Bool,
  can_toggle_mute_new_participants: Bool,
  can_send_messages: Bool,
  are_messages_allowed: Bool,
  can_toggle_are_messages_allowed: Bool,
  can_delete_messages: Bool,
  record_duration: int32,
  is_video_recorded: Bool,
  duration: int32
) → GroupCall

id

int32

Group call identifier

unique_id

int64

Persistent unique group call identifier

title

string

Group call title; for video chats only

string

Invite link for the group call; for group calls that aren't bound to a chat. For video chats call getVideoChatInviteLink to get the link. For live stories in chats with username call getInternalLink with internalLinkTypeLiveStory

int53

The minimum number of Telegram Stars that must be paid by general participant for each sent message to the call; for live stories only

scheduled_start_date

int32

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; for video chats only

enabled_start_notification

Bool

True, if the group call is scheduled and the current user will receive a notification when the group call starts; for video chats only

is_active

Bool

True, if the call is active

is_video_chat

Bool

True, if the call is bound to a chat

is_live_story

Bool

True, if the call is a live story of a chat

is_rtmp_stream

Bool

True, if the call is an RTMP stream instead of an ordinary video chat; for video chats and live stories only

is_joined

Bool

True, if the call is joined

need_rejoin

Bool

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

is_owned

Bool

True, if the user is the owner of the call and can end the call, change volume level of other users, or ban users there; for group calls that aren't bound to a chat

can_be_managed

Bool

True, if the current user can manage the group call; for video chats and live stories only

participant_count

int32

Number of participants in the group call

has_hidden_listeners

Bool

True, if group call participants, which are muted, aren't returned in participant list; for video chats only

loaded_all_participants

Bool

True, if all group call participants are loaded

message_sender_id

MessageSender

Message sender chosen to send messages to the group call; for live stories only; may be null if the call isn't a live story

recent_speakers

list of GroupCallRecentSpeaker

At most 3 recently speaking users in the group call

is_my_video_enabled

Bool

True, if the current user's video is enabled

is_my_video_paused

Bool

True, if the current user's video is paused

can_enable_video

Bool

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

mute_new_participants

Bool

True, if only group call administrators can unmute new participants; for video chats only

can_toggle_mute_new_participants

Bool

True, if the current user can enable or disable mute_new_participants setting; for video chats only

can_send_messages

Bool

True, if the current user can send messages to the group call

are_messages_allowed

Bool

True, if sending of messages is allowed in the group call

can_toggle_are_messages_allowed

Bool

True, if the current user can enable or disable sending of messages in the group call

can_delete_messages

Bool

True, if the user can delete messages in the group call

record_duration

int32

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

is_video_recorded

Bool

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

duration

int32

Call duration, in seconds; for ended calls only