VideoChat class final
Describes a video chat
Constructors
- VideoChat({required int groupCallId, required bool hasParticipants, MessageSender? defaultParticipantId})
-
Describes a video chat
const
-
VideoChat.fromJson(Map<
String, dynamic> json) -
Parses a VideoChat from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- defaultParticipantId → MessageSender?
-
Default group call participant identifier to join the video chat; may be null
final
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- groupCallId → int
-
Group call identifier of an active video chat; 0 if none. Full information about the video chat can be received through the method getGroupCall
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasParticipants → bool
-
True, if the video chat has participants
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? groupCallId, bool? hasParticipants, MessageSender? defaultParticipantId()?}) → VideoChat -
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.