DirectMessage class

Annotations
  • @JsonSerializable.new()

Constructors

DirectMessage({int? id, String? textContent, String? deltaContent, int? group, String? fromUserFullName, int? fromUserId, dynamic replyTo, bool? isBase64Encoded, int? createdAt, dynamic updatedAt, dynamic forwardedByUser, dynamic forwardedFromGroup, List? seenBy, List<MessageFile>? files, List? replies, Reactions? reactions, int? hash, bool? isDeleted, bool? isPinned})
DirectMessage.fromJson(Map<String, dynamic> json)
factory

Properties

allReactions List<String>
no setter
createdAt int?
final
deltaContent String?
final
files List<MessageFile>?
final
forwardedByUser → dynamic
final
forwardedFromGroup → dynamic
final
fromUserFullName String?
final
fromUserId int?
final
group int?
final
hash int?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
isBase64Encoded bool?
final
isDeleted bool?
final
isPinned bool?
final
reaction String?
no setter
reactionList List<Map<String, dynamic>>
no setter
reactions Reactions?
final
replies List?
final
replyTo → dynamic
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seenBy List?
final
textContent String?
final
updatedAt → dynamic
final

Methods

copyWith({int? id, String? textContent, String? deltaContent, int? group, String? fromUserFullName, int? fromUserId, dynamic replyTo, bool? isBase64Encoded, int? createdAt, dynamic updatedAt, dynamic forwardedByUser, dynamic forwardedFromGroup, List? seenBy, List<MessageFile>? files, List? replies, Reactions? reactions, int? hash, bool? isDeleted, bool? isPinned}) DirectMessage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited