botcat_capoo/model/event/notice.rs
1mod notify;
2
3use serde::{Deserialize, Serialize};
4
5pub use notify::*;
6
7#[derive(Clone, Debug, Deserialize, Serialize)]
8#[serde(tag = "notice_type", rename_all = "snake_case")]
9pub enum NoticeEvent {
10 Essence,
11 FriendAdd,
12 FriendRecall,
13 GroupAdmin,
14 GroupBan,
15 GroupCard,
16 GroupDecrease,
17 GroupIncrease,
18 GroupMsgEmojiLike,
19 GroupRecall,
20 GroupUpload,
21 Notify(NotifyEvent),
22}