use mid_chat::{ChatMessage, ChatMessageReference, ChatReference}; #[async_trait::async_trait] pub trait Service { fn tag(&self) -> &'static str; async fn send_chat_message( &mut self, source: &ChatMessage, destination_channel: ChatReference, ) -> Vec; async fn delete_message(&mut self, message: &ChatMessageReference) -> bool; }