Layer 220
GroupCall
Info about a group call or livestream
constructor
groupCall#553b0ba1 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 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 = GroupCall;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| JoinMuted | flags.1?true | Whether the user should be muted upon joining the call |
| CanChangeJoinMuted | flags.2?true | Whether the current user can change the value of the join_muted flag using phone. toggle Group Call Settings |
| JoinDateAsc | flags.6?true | Specifies the ordering to use when locally sorting by date and displaying in the UI group call participants. |
| ScheduleStartSubscribed | flags.8?true | Whether we subscribed to the scheduled call |
| CanStartVideo | flags.9?true | Whether you can start streaming video into the call |
| RecordVideoActive | flags.11?true | Whether the group call is currently being recorded |
| RtmpStream | flags.12?true | Whether RTMP streams are allowed |
| ListenersHidden | flags.13?true | Whether the listeners list is hidden and cannot be fetched using phone. get Group Participants. The phone. group Participants. count and group Call. participants_count counters will still include listeners. |
| Conference | flags.14?true | Whether this is an E 2 E conference call. |
| Creator | flags.15?true | Whether we're created this group call. |
| Id | long | Group call ID |
| AccessHash | long | Group call access hash |
| ParticipantsCount | int | Participant count |
| Title | flags.3?string | Group call title |
| StreamDcId | flags.4?int | DC ID to be used for livestream chunks |
| RecordStartDate | flags.5?int | When was the recording started |
| ScheduleDate | flags.7?int | When is the call scheduled to start |
| UnmutedVideoCount | flags.10?int | Number of people currently streaming video into the call |
| UnmutedVideoLimit | int | Maximum number of people allowed to stream video into the call |
| Version | int | Version |
| InviteLink | flags.16?string | Invitation link for the conference. |
Returns
GroupCallGogram Example
// Creating GroupCall constructor obj := &tg.GroupCall{ Id: int64(0), AccessHash: int64(0), ParticipantsCount: 0, UnmutedVideoLimit: 0, Version: 0, // Optional fields: // JoinMuted: true, // CanChangeJoinMuted: true, // JoinDateAsc: true, // ScheduleStartSubscribed: true, // ... more optional fields }