GroupCallParticipant class
Represents a group call participant
Constructors
- GroupCallParticipant({String? extra, int? client_id, MessageSender? participant_id, int32? audio_source_id, int32? screen_sharing_audio_source_id, GroupCallParticipantVideoInfo? video_info, GroupCallParticipantVideoInfo? screen_sharing_video_info, string? bio, Bool? is_current_user, Bool? is_speaking, Bool? is_hand_raised, Bool? can_be_muted_for_all_users, Bool? can_be_unmuted_for_all_users, Bool? can_be_muted_for_current_user, Bool? can_be_unmuted_for_current_user, Bool? is_muted_for_all_users, Bool? is_muted_for_current_user, Bool? can_unmute_self, int32? volume_level, string? order})
-
GroupCallParticipant.fromMap(Map<
String, dynamic> map)
Properties
- audio_source_id ↔ int32?
-
User's audio channel synchronization source identifier
getter/setter pair
- bio ↔ string?
-
The participant user's bio or the participant chat's description
getter/setter pair
- can_be_muted_for_all_users ↔ Bool?
-
True, if the current user can mute the participant for all other group call participants
getter/setter pair
- can_be_muted_for_current_user ↔ Bool?
-
True, if the current user can mute the participant only for self
getter/setter pair
- can_be_unmuted_for_all_users ↔ Bool?
-
True, if the current user can allow the participant to unmute themselves or unmute the participant (if the participant is the current user)
getter/setter pair
- can_be_unmuted_for_current_user ↔ Bool?
-
True, if the current user can unmute the participant for self
getter/setter pair
- can_unmute_self ↔ Bool?
-
True, if the participant is muted for all users, but can unmute themselves
getter/setter pair
- client_id ↔ int?
-
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
- extra ↔ String?
-
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- is_current_user ↔ Bool?
-
True, if the participant is the current user
getter/setter pair
- is_hand_raised ↔ Bool?
-
True, if the participant hand is raised
getter/setter pair
- is_muted_for_all_users ↔ Bool?
-
True, if the participant is muted for all users
getter/setter pair
- is_muted_for_current_user ↔ Bool?
-
True, if the participant is muted for the current user
getter/setter pair
- is_speaking ↔ Bool?
-
True, if the participant is speaking as set by setGroupCallParticipantIsSpeaking
getter/setter pair
- 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
getter/setter pair
- participant_id ↔ MessageSender?
-
Identifier of the group call participant
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen_sharing_audio_source_id ↔ int32?
-
User's screen sharing audio channel synchronization source identifier
getter/setter pair
- screen_sharing_video_info ↔ GroupCallParticipantVideoInfo?
-
Information about user's screen sharing video channel; may be null if there is no active screen sharing video
getter/setter pair
- tdType → String
-
JSON object type; maps to the field @type.
no setteroverride
- video_info ↔ GroupCallParticipantVideoInfo?
-
Information about user's video channel; may be null if there is no active video
getter/setter pair
- volume_level ↔ int32?
-
Participant's volume level; 1-20000 in hundreds of percents
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
{dynamic skipNulls = true}) → String -
Serialize a Td instance to a JSON string.
If
skipNullsistruethe fields with null values are not serialized.inherited -
toMap(
{dynamic skipNulls = true}) → Map< String, dynamic> -
Create a Map from a Td instance.
override
-
toString(
{dynamic skipNulls = false}) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited