botrs 0.12.2

A Rust QQ Bot framework based on QQ Guild Bot API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::super::ConnectionState;
use serde_json::Value;

pub(in crate::connection) fn parse_ready(
    _state: &ConnectionState,
    _payload: &Value,
) -> Option<(&'static str, Value)> {
    Some(("ready", Value::Null))
}

pub(in crate::connection) fn parse_resumed(
    _state: &ConnectionState,
    _payload: &Value,
) -> Option<(&'static str, Value)> {
    Some(("resumed", Value::Null))
}