Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

577 B
Raw Blame
use super::ConnectionGatewayClient;
use connection_gateway_models::MessageReceipt;
use model_entity::EntityType;

impl ConnectionGatewayClient {
    /// Trigger refresh of the user's calendar views.
    #[tracing::instrument(skip(self, event))]
    pub async fn refresh_calendar(
        &self,
        user_id: &str,
        event: serde_json::Value,
    ) -> anyhow::Result<Vec<MessageReceipt>> {
        self.send_message(
            EntityType::User.with_entity_str(user_id),
            "refresh_calendar".to_string(),
            event,
        )
        .await
    }
}