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 #
| Name | Type | Description |
|---|---|---|
| call | InputGroupCall | Group call of any type to fetch |
| limit | int | Maximum 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 #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 403 | GROUPCALL_FORBIDDEN | The specified group call cannot be used in this context. |
| 400 | GROUPCALL_INVALID | The specified group call is invalid. |
Related pages #
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:¶
conferencertmp_streamlisteners_hiddentitlemessages_enabledrecord_start_dateandrecord_video_activeschedule_datesend_paid_messages_stars
When min is set, the following fields must be ignored, keeping the values from the previously cached non-min constructor:¶
join_mutedcan_change_join_mutedschedule_start_subscribedcan_start_videocreatorcan_change_messages_enabledunmuted_video_countunmuted_video_limitstream_dc_idinvite_linkdefault_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.¶