RoomMessage constructor
RoomMessage({
- required String uuid,
- required String type,
- String? fromAccount,
- required String fromNick,
- String? fromAvatar,
- String? content,
- List<
String?> ? toAccounts, - required int time,
- RoomMessageAttachment? attachment,
- RoomNotification? notification,
- int? eventType,
- String? operatorAccount,
- String? recallMessageId,
- required ChatroomType chatroomType,
Implementation
RoomMessage({
required this.uuid,
required this.type,
this.fromAccount,
required this.fromNick,
this.fromAvatar,
this.content,
this.toAccounts,
required this.time,
this.attachment,
this.notification,
this.eventType,
this.operatorAccount,
this.recallMessageId,
required this.chatroomType,
});