ClientChatComposingParams class
Params of the client.chat.composing event.
- Annotations
-
- @freezed
Constructors
- ClientChatComposingParams({@JsonKey(name: 'jid') required String jid, @Default(false) @JsonKey(name: 'is_audio') bool? isAudio, @Default(false) @JsonKey(name: 'composing') bool? composing, @JsonKey(name: 'draft') String? draft})
-
constfactory
-
ClientChatComposingParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
- composing → bool?
-
true = start typing / audio recording, false = stop.
no setterinherited
-
copyWith
→ $ClientChatComposingParamsCopyWith<
ClientChatComposingParams> -
no setterinherited
- draft → String?
-
Message draft data.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAudio → bool?
-
true = audiomessage, false = text typing.
no setterinherited
- jid → String
-
Chat or contact id.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited