AllRequestEvent

Type Alias AllRequestEvent 

Source
pub type AllRequestEvent = RequestEvent;
👎Deprecated since 0.11.0: 请使用 RequestEvent 代替

Aliased Type§

pub struct AllRequestEvent {
    pub time: i64,
    pub self_id: i64,
    pub post_type: PostType,
    pub request_type: String,
    pub original_json: Value,
}

Fields§

§time: i64

事件发生的时间戳

§self_id: i64

收到事件的机器人 登陆号

§post_type: PostType

上报类型

§request_type: String

请求类型

§original_json: Value

原始的onebot消息,已处理成json格式