channel_message_list

This commit is contained in:
2024-07-13 00:11:13 +02:00
parent 778451fa4c
commit be7035978b
9 changed files with 281 additions and 127 deletions

View File

@@ -70,6 +70,16 @@ class Channel extends HiveObject implements FieldDebuggable {
('messagesSent', '${this.messagesSent}'),
];
}
ChannelPreview toPreview() {
return ChannelPreview(
channelID: this.channelID,
ownerUserID: this.ownerUserID,
internalName: this.internalName,
displayName: this.displayName,
descriptionName: this.descriptionName,
);
}
}
class ChannelWithSubscription {