GroupCall class final
Describes a group call
Constructors
-
GroupCall({required int id, required String title, required int scheduledStartDate, required bool enabledStartNotification, required bool isActive, required bool isRtmpStream, required bool isJoined, required bool needRejoin, required bool canBeManaged, required int participantCount, required bool hasHiddenListeners, required bool loadedAllParticipants, required List<
GroupCallRecentSpeaker> recentSpeakers, required bool isMyVideoEnabled, required bool isMyVideoPaused, required bool canEnableVideo, required bool muteNewParticipants, required bool canToggleMuteNewParticipants, required int recordDuration, required bool isVideoRecorded, required int duration, dynamic extra, int? clientId}) -
Describes a group call
const
-
GroupCall.fromJson(Map<
String, dynamic> json) -
Parses a GroupCall from TDLib JSON.
factory
Properties
- canBeManaged → bool
-
True, if the current user can manage the group call
final
- canEnableVideo → bool
-
True, if the current user can broadcast video or share screen
final
- canToggleMuteNewParticipants → bool
-
True, if the current user can enable or disable mute_new_participants setting
final
- clientId → int?
-
Identifier of the TDLib client that sent this object.
final
- duration → int
-
Call duration, in seconds; for ended calls only
final
- enabledStartNotification → bool
-
True, if the group call is scheduled and the current user will receive a notification when the group call will start
final
- extra → dynamic
-
"@extra" of the request this object answers.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHiddenListeners → bool
-
True, if group call participants, which are muted, aren't returned in participant list
final
- id → int
-
Group call identifier
final
- isActive → bool
-
True, if the call is active
final
- isJoined → bool
-
True, if the call is joined
final
- isMyVideoEnabled → bool
-
True, if the current user's video is enabled
final
- isMyVideoPaused → bool
-
True, if the current user's video is paused
final
- isRtmpStream → bool
-
True, if the chat is an RTMP stream instead of an ordinary video chat
final
- isVideoRecorded → bool
-
True, if a video file is being recorded for the call
final
- loadedAllParticipants → bool
-
True, if all group call participants are loaded
final
- muteNewParticipants → bool
-
True, if only group call administrators can unmute new participants
final
- needRejoin → bool
-
True, if user was kicked from the call because of network loss and the call needs to be rejoined
final
- participantCount → int
-
Number of participants in the group call
final
-
recentSpeakers
→ List<
GroupCallRecentSpeaker> -
At most 3 recently speaking users in the group call
final
- recordDuration → int
-
Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledStartDate → int
-
Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended
final
- title → String
-
Group call title
final
Methods
-
copyWith(
{int? id, String? title, int? scheduledStartDate, bool? enabledStartNotification, bool? isActive, bool? isRtmpStream, bool? isJoined, bool? needRejoin, bool? canBeManaged, int? participantCount, bool? hasHiddenListeners, bool? loadedAllParticipants, List< GroupCallRecentSpeaker> ? recentSpeakers, bool? isMyVideoEnabled, bool? isMyVideoPaused, bool? canEnableVideo, bool? muteNewParticipants, bool? canToggleMuteNewParticipants, int? recordDuration, bool? isVideoRecorded, int? duration, dynamic extra, int? clientId}) → GroupCall -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.