1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! 获取群列表 //! //! 使用此方法获取bot的群列表 use crate::{bot::QQ, messages::group}; #[derive(Serialize)] pub struct Request { pub target: QQ, } pub type Response = Vec<group::GroupMember>; crate::api!(command = "memberList", Request, Response);