qq_bot/wss/
ready_event.rs

1use super::*;
2
3#[derive(Serialize, Deserialize, Debug)]
4pub struct LoginEvent {
5    pub version: i64,
6    pub session_id: String,
7    pub user: User,
8    pub shard: Vec<i64>,
9}
10
11#[derive(Serialize, Deserialize, Default, Debug)]
12pub struct User {
13    pub id: String,
14    pub username: String,
15    pub bot: bool,
16}