use talk_loco_client::talk::{channel::ChannelMeta, chat::Chatlog};
#[derive(Debug, Clone)]
pub enum ChannelEvent {
Chat {
link_id: Option<i64>,
user_nickname: Option<String>,
chat: Chatlog,
},
ChatRead {
user_id: i64,
log_id: i64,
},
MetaChanged(ChannelMeta),
ChatDeleted(Chatlog),
Added {
chatlog: Option<Chatlog>,
},
Left,
}