ChatMessage constructor
ChatMessage( - ChatItemId id,
- ChatId chatId,
- User author,
- PreciseDateTime at, {
- SendingStatus? status,
- List<ChatItemQuote> repliesTo = const [],
- ChatMessageText? text,
- PreciseDateTime? editedAt,
- List<Attachment> attachments = const [],
- List<Donation> donations = const [],
})
Implementation
ChatMessage(
super.id,
super.chatId,
super.author,
super.at, {
super.status,
this.repliesTo = const [],
this.text,
this.editedAt,
this.attachments = const [],
this.donations = const [],
});