DirectMessage constructor

DirectMessage({
  1. int? id,
  2. String? textContent,
  3. String? deltaContent,
  4. int? group,
  5. String? fromUserFullName,
  6. int? fromUserId,
  7. dynamic replyTo,
  8. bool? isBase64Encoded,
  9. int? createdAt,
  10. dynamic updatedAt,
  11. dynamic forwardedByUser,
  12. dynamic forwardedFromGroup,
  13. List? seenBy,
  14. List<MessageFile>? files,
  15. List? replies,
  16. Reactions? reactions,
  17. int? hash,
  18. bool? isDeleted,
  19. bool? isPinned,
})

Implementation

DirectMessage({
  this.id,
  this.textContent,
  this.deltaContent,
  this.group,
  this.fromUserFullName,
  this.fromUserId,
  this.replyTo,
  this.isBase64Encoded,
  this.createdAt,
  this.updatedAt,
  this.forwardedByUser,
  this.forwardedFromGroup,
  this.seenBy,
  this.files,
  this.replies,
  this.reactions,
  this.hash,
  this.isDeleted,
  this.isPinned,
});