GroupCallParticipant class final
Represents a group call participant
Constructors
- GroupCallParticipant({required MessageSender participantId, required int audioSourceId, required int screenSharingAudioSourceId, GroupCallParticipantVideoInfo? videoInfo, GroupCallParticipantVideoInfo? screenSharingVideoInfo, required String bio, required bool isCurrentUser, required bool isSpeaking, required bool isHandRaised, required bool canBeMutedForAllUsers, required bool canBeUnmutedForAllUsers, required bool canBeMutedForCurrentUser, required bool canBeUnmutedForCurrentUser, required bool isMutedForAllUsers, required bool isMutedForCurrentUser, required bool canUnmuteSelf, required int volumeLevel, required String order})
-
Represents a group call participant
const
-
GroupCallParticipant.fromJson(Map<
String, dynamic> json) -
Parses a GroupCallParticipant from TDLib JSON.
factory
Properties
- audioSourceId → int
-
User's audio channel synchronization source identifier
final
- bio → String
-
The participant user's bio or the participant chat's description
final
- canBeMutedForAllUsers → bool
-
True, if the current user can mute the participant for all other group call participants
final
- canBeMutedForCurrentUser → bool
-
True, if the current user can mute the participant only for self
final
- canBeUnmutedForAllUsers → bool
-
True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user)
final
- canBeUnmutedForCurrentUser → bool
-
True, if the current user can unmute the participant for self
final
- canUnmuteSelf → bool
-
True, if the participant is muted for all users, but can unmute themselves
final
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCurrentUser → bool
-
True, if the participant is the current user
final
- isHandRaised → bool
-
True, if the participant hand is raised
final
- isMutedForAllUsers → bool
-
True, if the participant is muted for all users
final
- isMutedForCurrentUser → bool
-
True, if the participant is muted for the current user
final
- isSpeaking → bool
-
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking
final
- order → String
-
User's order in the group call participant list. Orders must be compared lexicographically. The bigger is order, the higher is user in the list. If order is empty, the user must be removed from the participant list
final
- participantId → MessageSender
-
Identifier of the group call participant
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSharingAudioSourceId → int
-
User's screen sharing audio channel synchronization source identifier
final
- screenSharingVideoInfo → GroupCallParticipantVideoInfo?
-
Information about user's screen sharing video channel; may be null if there is no active screen sharing video
final
- videoInfo → GroupCallParticipantVideoInfo?
-
Information about user's video channel; may be null if there is no active video
final
- volumeLevel → int
-
Participant's volume level; 1-20000 in hundreds of percents
final
Methods
-
copyWith(
{MessageSender? participantId, int? audioSourceId, int? screenSharingAudioSourceId, GroupCallParticipantVideoInfo? videoInfo()?, GroupCallParticipantVideoInfo? screenSharingVideoInfo()?, String? bio, bool? isCurrentUser, bool? isSpeaking, bool? isHandRaised, bool? canBeMutedForAllUsers, bool? canBeUnmutedForAllUsers, bool? canBeMutedForCurrentUser, bool? canBeUnmutedForCurrentUser, bool? isMutedForAllUsers, bool? isMutedForCurrentUser, bool? canUnmuteSelf, int? volumeLevel, String? order}) → GroupCallParticipant -
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.