phone.getGroupCall #

Get info about a group call and its participants.

Layer 223

phone.groupCall#9e727aad call:GroupCall participants:Vector<GroupCallParticipant> participants_next_offset:string chats:Vector<Chat> users:Vector<User> = phone.GroupCall;
---functions---
phone.getGroupCall#41845db call:InputGroupCall limit:int = phone.GroupCall;

Parameters #

NameTypeDescription
callInputGroupCallGroup call of any type to fetch
limitintMaximum number of participants to return in this call (0 to return a server-defined amount).
If the number of returned participants is less than groupCall.participants_count, paginate through the remaining participants using phone.getGroupParticipants, passing to offset the phone.groupCall.participants_next_offset returned by this call.
This parameter behaves in a different way compared to the limit of phone.getGroupParticipants, see here » for more info.

Result #

phone.GroupCall

Only users can use this method #

Possible errors #

CodeTypeDescription
403GROUPCALL_FORBIDDENThe specified group call cannot be used in this context.
400GROUPCALL_INVALIDThe specified group call is invalid.

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.

phone.getGroupParticipants #

Get group call participants.

phone.groupCall #

Contains group call information and an initial participant page, see getting info about a group call ».

Group calls #

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