groupCall #

Describes a group call.

If the min flag is set, this is a partial (min) constructor: only a subset of its fields contains up-to-date information, and it must be merged into a previously cached non-min constructor as described below. If no full (non-min) constructor for this call was cached previously, the min constructor must be discarded.

When min is set, the following mandatory fields may be used: id, access_hash, participants_count and version. In addition, only the following conditional fields may be used if present, subject to the usual version check:

  • conference
  • rtmp_stream
  • listeners_hidden
  • title
  • messages_enabled
  • record_start_date and record_video_active
  • schedule_date
  • send_paid_messages_stars

When min is set, the following fields must be ignored, keeping the values from the previously cached non-min constructor:

  • join_muted
  • can_change_join_muted
  • schedule_start_subscribed
  • can_start_video
  • creator
  • can_change_messages_enabled
  • unmuted_video_count
  • unmuted_video_limit
  • stream_dc_id
  • invite_link
  • default_send_as

The join_date_asc flag is set only when the call is created and never changes afterwards, so it too is not applied from a min constructor.

Layer 223

groupCall#efb2b617 flags:# join_muted:flags.1?true can_change_join_muted:flags.2?true join_date_asc:flags.6?true schedule_start_subscribed:flags.8?true can_start_video:flags.9?true record_video_active:flags.11?true rtmp_stream:flags.12?true listeners_hidden:flags.13?true conference:flags.14?true creator:flags.15?true messages_enabled:flags.17?true can_change_messages_enabled:flags.18?true min:flags.19?true id:long access_hash:long participants_count:int title:flags.3?string stream_dc_id:flags.4?int record_start_date:flags.5?int schedule_date:flags.7?int unmuted_video_count:flags.10?int unmuted_video_limit:int version:int invite_link:flags.16?string send_paid_messages_stars:flags.20?long default_send_as:flags.21?Peer = GroupCall;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
join_mutedflags.1?trueWhether the user should be muted upon joining the call. Must be ignored if the min flag is set.
can_change_join_mutedflags.2?trueWhether the current user can change the value of the join_muted flag using phone.toggleGroupCallSettings. Must be ignored if the min flag is set.
join_date_ascflags.6?trueSpecifies the ordering to use when locally sorting by date and displaying in the UI group call participants. Set only when the call is created and never changed afterwards, so it is not applied from a min constructor.
schedule_start_subscribedflags.8?trueWhether we subscribed to the scheduled call. Must be ignored if the min flag is set.
can_start_videoflags.9?trueWhether you can start streaming video into the call. Must be ignored if the min flag is set.
record_video_activeflags.11?trueWhether the group call is currently being recorded
rtmp_streamflags.12?trueWhether this call uses RTMP livestream mode »
listeners_hiddenflags.13?trueWhether the listeners list is hidden and cannot be fetched using phone.getGroupParticipants. The phone.groupParticipants.count and groupCall.participants_count counters will still include listeners.
conferenceflags.14?trueWhether this is an E2E conference call.
creatorflags.15?trueWhether the current user created this group call. Must be ignored if the min flag is set.
messages_enabledflags.17?trueWhether the in-call message overlay » is enabled
can_change_messages_enabledflags.18?trueWhether the current user may enable or disable the in-call message overlay ». Must be ignored if the min flag is set.
minflags.19?trueWhether this is a partial constructor that must be merged into a previously cached non-min constructor, following the rules described above.
idlongGroup call ID
access_hashlongGroup call access hash
participants_countintParticipant count
titleflags.3?stringGroup call title
stream_dc_idflags.4?intMedia DC ID to use for RTMP stream requests ». Must be ignored if the min flag is set.
record_start_dateflags.5?intWhen was the recording started
schedule_dateflags.7?intWhen is the call scheduled to start
unmuted_video_countflags.10?intNumber of people currently streaming video into the call. Must be ignored if the min flag is set.
unmuted_video_limitintMaximum number of people allowed to stream video into the call. Must be ignored if the min flag is set.
versionintRevision used to apply group call updates »
invite_linkflags.16?stringInvitation link for a conference call ». Must be ignored if the min flag is set.
send_paid_messages_starsflags.20?longMinimum Stars donation required from users other than the live story owner to send a paid comment »; 0 or no value allows free comments
default_send_asflags.21?PeerDefault peer displayed as the author of live story comments and reactions ». Must be ignored if the min flag is set.

Type #

GroupCall

phone.toggleGroupCallSettings #

Change group call settings. Each setting supports different group call types, see here » for more info.

Group calls #

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

phone.getGroupParticipants #

Get group call participants.