ClientMessageUpdatedParams class
Params of the client.message.updated event.
- Annotations
-
- @freezed
Constructors
-
ClientMessageUpdatedParams({@JsonKey(name: 'to') required String to, @JsonKey(name: 'content') required MessageContent content, @JsonKey(name: 'message_id') String? messageId, @JsonKey(name: 'reply_to') String? replyTo, @JsonKey(name: 'linked_messages') List<
String> ? linkedMessages, @Default(false) @JsonKey(name: 'important') bool? important, @Default(false) @JsonKey(name: 'nopreview') bool? nopreview, @JsonKey(name: 'uploads') List<String> ? uploads, @Default(false) @JsonKey(name: 'old_style_attachment') bool? oldStyleAttachment, @Deprecated('Deprecated.') @JsonKey(name: 'comment') String? comment}) -
constfactory
-
ClientMessageUpdatedParams.fromJson(Map<
String, dynamic> json) -
factory
Properties
- comment → String?
-
Deprecated.
no setterinherited
- content → MessageContent
-
Message content. Required.
no setterinherited
-
copyWith
→ $ClientMessageUpdatedParamsCopyWith<
ClientMessageUpdatedParams> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- important → bool?
-
Important flag. Not required. Default: false.
no setterinherited
-
linkedMessages
→ List<
String> ? -
Forwarded messages (previously was for reply too). Not required.
no setterinherited
- messageId → String?
-
Uid created by client. Recommended.
no setterinherited
- nopreview → bool?
-
Disable links preview generation. Not required. Default: false.
no setterinherited
- oldStyleAttachment → bool?
-
Backward compatibility mode.
no setterinherited
- replyTo → String?
-
Replied to message id. Not required.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → String
-
Chat, task or contact jid. Required.
no setterinherited
-
uploads
→ List<
String> ? -
Message attachments.
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