use anyhow::Result;
use super::models::{TeamsChannel, TeamsChat};
pub struct ChannelManager;
impl ChannelManager {
pub fn new() -> Self {
Self
}
pub async fn get_or_create_matrix_room(&self, channel: &TeamsChannel) -> Result<String> {
Ok(format!("!teams_{}:localhost", channel.id))
}
pub async fn get_or_create_matrix_room_for_chat(&self, chat: &TeamsChat) -> Result<String> {
Ok(format!("!teams_chat_{}:localhost", chat.id))
}
pub async fn sync_channel_info(&self, channel: &TeamsChannel) -> Result<()> {
Ok(())
}
}