GroupCall class final

Describes a group call

Inheritance

Constructors

GroupCall({required int id, required int uniqueId, required String title, required String inviteLink, required int paidMessageStarCount, required int scheduledStartDate, required bool enabledStartNotification, required bool isActive, required bool isVideoChat, required bool isLiveStory, required bool isRtmpStream, required bool isJoined, required bool needRejoin, required bool isOwned, required bool canBeManaged, required int participantCount, required bool hasHiddenListeners, required bool loadedAllParticipants, MessageSender? messageSenderId, required List<GroupCallRecentSpeaker> recentSpeakers, required bool isMyVideoEnabled, required bool isMyVideoPaused, required bool canEnableVideo, required bool muteNewParticipants, required bool canToggleMuteNewParticipants, required bool canSendMessages, required bool areMessagesAllowed, required bool canToggleAreMessagesAllowed, required bool canDeleteMessages, 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

areMessagesAllowed → bool
True, if sending of messages is allowed in the group call
final
canBeManaged → bool
True, if the current user can manage the group call; for video chats and live stories only
final
canDeleteMessages → bool
True, if the user can delete messages in the group call
final
canEnableVideo → bool
True, if the current user can broadcast video or share screen
final
canSendMessages → bool
True, if the current user can send messages to the group call
final
canToggleAreMessagesAllowed → bool
True, if the current user can enable or disable sending of messages in the group call
final
canToggleMuteNewParticipants → bool
True, if the current user can enable or disable mute_new_participants setting; for video chats only
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 starts; for video chats only
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; for video chats only
final
id → int
Group call identifier
final
Invite link for the group call; for group calls that aren't bound to a chat. For video chats call getVideoChatInviteLink to get the link. For live stories in chats with username call getInternalLink with internalLinkTypeLiveStory
final
isActive → bool
True, if the call is active
final
isJoined → bool
True, if the call is joined
final
isLiveStory → bool
True, if the call is a live story of a chat
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
isOwned → bool
True, if the user is the owner of the call and can end the call, change volume level of other users, or ban users there; for group calls that aren't bound to a chat
final
isRtmpStream → bool
True, if the call is an RTMP stream instead of an ordinary video chat; for video chats and live stories only
final
isVideoChat → bool
True, if the call is bound to a 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
messageSenderId → MessageSender?
Message sender chosen to send messages to the group call; for live stories only; may be null if the call isn't a live story
final
muteNewParticipants → bool
True, if only group call administrators can unmute new participants; for video chats only
final
needRejoin → bool
True, if user was kicked from the call because of network loss and the call needs to be rejoined
final
paidMessageStarCount → int
The minimum number of Telegram Stars that must be paid by general participant for each sent message to the call; for live stories only
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 expected to be started by an administrator; 0 if it is already active or was ended; for video chats only
final
title → String
Group call title; for video chats only
final
uniqueId → int
Persistent unique group call identifier
final

Methods

copyWith({int? id, int? uniqueId, String? title, String? inviteLink, int? paidMessageStarCount, int? scheduledStartDate, bool? enabledStartNotification, bool? isActive, bool? isVideoChat, bool? isLiveStory, bool? isRtmpStream, bool? isJoined, bool? needRejoin, bool? isOwned, bool? canBeManaged, int? participantCount, bool? hasHiddenListeners, bool? loadedAllParticipants, MessageSender? messageSenderId()?, List<GroupCallRecentSpeaker>? recentSpeakers, bool? isMyVideoEnabled, bool? isMyVideoPaused, bool? canEnableVideo, bool? muteNewParticipants, bool? canToggleMuteNewParticipants, bool? canSendMessages, bool? areMessagesAllowed, bool? canToggleAreMessagesAllowed, bool? canDeleteMessages, 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: () => null to 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.