GroupCall#

class pyrogram.raw.types.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: When min is set, the following fields must be ignored, keeping the values from the previously cached non-min constructor: 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.

conference
rtmp_stream
listeners_hidden
title
messages_enabled
record_start_date and record_video_active
schedule_date
send_paid_messages_stars

Constructor of GroupCall.

Details:
  • Layer: 227

  • ID: EFB2B617

Parameters:
  • id (int 64-bit) – Group call ID

  • access_hash (int 64-bit) – Group call access hash

  • participants_count (int 32-bit) – Participant count

  • unmuted_video_limit (int 32-bit) – Maximum number of people allowed to stream video into the call. Must be ignored if the min flag is set.

  • version (int 32-bit) – Revision used to apply group call updates »

  • join_muted (bool, optional) – Whether the user should be muted upon joining the call. Must be ignored if the min flag is set.

  • can_change_join_muted (bool, optional) – Whether 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_asc (bool, optional) – Specifies 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_subscribed (bool, optional) – Whether we subscribed to the scheduled call. Must be ignored if the min flag is set.

  • can_start_video (bool, optional) – Whether you can start streaming video into the call. Must be ignored if the min flag is set.

  • record_video_active (bool, optional) – Whether the group call is currently being recorded

  • rtmp_stream (bool, optional) – Whether this call uses RTMP livestream mode »

  • listeners_hidden (bool, optional) – Whether 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.

  • conference (bool, optional) – Whether this is an E2E conference call.

  • creator (bool, optional) – Whether the current user created this group call. Must be ignored if the min flag is set.

  • messages_enabled (bool, optional) – Whether the in-call message overlay » is enabled

  • can_change_messages_enabled (bool, optional) – Whether the current user may enable or disable the in-call message overlay ». Must be ignored if the min flag is set.

  • min (bool, optional) – Whether this is a partial constructor that must be merged into a previously cached non-min constructor, following the rules described above.

  • title (str, optional) – Group call title

  • stream_dc_id (int 32-bit, optional) – Media DC ID to use for RTMP stream requests ». Must be ignored if the min flag is set.

  • record_start_date (int 32-bit, optional) – When was the recording started

  • schedule_date (int 32-bit, optional) – When is the call scheduled to start

  • unmuted_video_count (int 32-bit, optional) – Number of people currently streaming video into the call. Must be ignored if the min flag is set.

  • invite_link (str, optional) – Invitation link for a conference call ». Must be ignored if the min flag is set.

  • send_paid_messages_stars (int 64-bit, optional) – Minimum 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_as (Peer, optional) – Default peer displayed as the author of live story comments and reactions ». Must be ignored if the min flag is set.