runbot 0.1.20

QQ client framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::error::Result;
use crate::prelude::BotContext;

impl BotContext {
    pub async fn clear_cache(&self) -> Result<()> {
        self.websocket_send("clear_cache", serde_json::Value::Null)
            .await?;
        Ok(())
    }
}