This version of the module is deprecated: 保守してないので
f4ah6o/moonchat/core does not have a README file
fn ChatStore::update_message_status(self : ChatStore, message_id : String, status : MessageStatus) -> Boolpub struct Message {
id : String
sender : User
content : MessageContent
timestamp_ms : Int64
status : Signal[MessageStatus]
}fn Message::new(id : String, sender : User, content : MessageContent, timestamp_ms : Int64, status? : MessageStatus) -> Messagepub(all) enum MessageContent {
Text(String)
Markdown(String)
Image(String, String?)
System(String)
}pub(all) struct MessageSnapshot {
id : String
sender : User
content : MessageContent
timestamp_ms : Int64
status : MessageStatus
}pub(all) enum MessageStatus {
Sending
Sent
Delivered
Read
Failed
}