Enum miraie::messages::events::Event [−][src]
pub enum Event {}Show variants
BotOnlineEvent(BotOnlineEvent), BotOfflineEventActive(BotOfflineEventActive), BotOfflineEventForce(BotOfflineEventForce), BotOfflineEventDropped(BotOfflineEventDropped), BotReloginEvent(BotReloginEvent), FriendInputStatusChangedEvent(FriendInputStatusChangedEvent), FriendNickChangedEvent(FriendNickChangedEvent), BotGroupPermissionChangeEvent(BotGroupPermissionChangeEvent), BotMuteEvent(BotMuteEvent), BotUnmuteEvent(BotUnmuteEvent), BotJoinGroupEvent(BotJoinGroupEvent), BotLeaveEventActive(BotLeaveEventActive), BotLeaveEventKick(BotLeaveEventKick), GroupRecallEvent(GroupRecallEvent), FriendRecallEvent(FriendRecallEvent), GroupNameChangeEvent(GroupNameChangeEvent), GroupEntranceAnnouncementChangeEvent(GroupEntranceAnnouncementChangeEvent), GroupMuteAllEvent(GroupMuteAllEvent), GroupAllowAnonymousChatEvent(GroupAllowAnonymousChatEvent), GroupAllowConfessTalkEvent(GroupAllowConfessTalkEvent), GroupAllowMemberInviteEvent(GroupAllowMemberInviteEvent), MemberJoinEvent(MemberJoinEvent), MemberLeaveEventKick(MemberLeaveEventKick), MemberLeaveEventQuit(MemberLeaveEventQuit), MemberCardChangeEvent(MemberCardChangeEvent), MemberSpecialTitleChangeEvent(MemberSpecialTitleChangeEvent), MemberPermissionChangeEvent(MemberPermissionChangeEvent), MemberMuteEvent(MemberMuteEvent), MemberUnmuteEvent(MemberUnmuteEvent), MemberHonorChangeEvent(MemberHonorChangeEvent), NewFriendRequestEvent(NewFriendRequestEvent), MemberJoinRequestEvent(MemberJoinRequestEvent), BotInvitedJoinGroupRequestEvent(BotInvitedJoinGroupRequestEvent), CommandExecutedEvent(CommandExecutedEvent),
Expand description
事件,如管理员收到的加群请求等
Variants
BotOnlineEvent(BotOnlineEvent)
Bot登录成功
BotOfflineEventActive(BotOfflineEventActive)
Bot主动离线
BotOfflineEventForce(BotOfflineEventForce)
Bot被挤下线
BotOfflineEventDropped(BotOfflineEventDropped)
Bot被服务器断开或因网络问题而掉线
BotReloginEvent(BotReloginEvent)
Bot主动重新登录
FriendInputStatusChangedEvent(FriendInputStatusChangedEvent)
好友输入状态改变
FriendNickChangedEvent(FriendNickChangedEvent)
好友昵称改变
BotGroupPermissionChangeEvent(BotGroupPermissionChangeEvent)
Bot在群里的权限被改变. 操作人一定是群主
BotMuteEvent(BotMuteEvent)
Bot被禁言
BotUnmuteEvent(BotUnmuteEvent)
Bot被取消禁言
BotJoinGroupEvent(BotJoinGroupEvent)
Bot加入了一个新群
BotLeaveEventActive(BotLeaveEventActive)
Bot主动退出一个群
BotLeaveEventKick(BotLeaveEventKick)
Bot被踢出一个群
GroupRecallEvent(GroupRecallEvent)
群消息撤回
FriendRecallEvent(FriendRecallEvent)
好友消息撤回
GroupNameChangeEvent(GroupNameChangeEvent)
某个群名改变
GroupEntranceAnnouncementChangeEvent(GroupEntranceAnnouncementChangeEvent)
某群入群公告改变
GroupMuteAllEvent(GroupMuteAllEvent)
全员禁言状态改变
GroupAllowAnonymousChatEvent(GroupAllowAnonymousChatEvent)
匿名聊天状态改变
GroupAllowConfessTalkEvent(GroupAllowConfessTalkEvent)
坦白说状态改变
GroupAllowMemberInviteEvent(GroupAllowMemberInviteEvent)
允许群员邀请好友加群
MemberJoinEvent(MemberJoinEvent)
新人入群的事件
MemberLeaveEventKick(MemberLeaveEventKick)
成员被踢出群(该成员不是Bot)
MemberLeaveEventQuit(MemberLeaveEventQuit)
成员主动离群(该成员不是Bot)
MemberCardChangeEvent(MemberCardChangeEvent)
群名片改动
MemberSpecialTitleChangeEvent(MemberSpecialTitleChangeEvent)
群头衔改动(只有群主有操作限权)
MemberPermissionChangeEvent(MemberPermissionChangeEvent)
成员权限改变的事件(该成员不是Bot)
MemberMuteEvent(MemberMuteEvent)
群成员被禁言事件(该成员不是Bot)
MemberUnmuteEvent(MemberUnmuteEvent)
群成员被取消禁言事件(该成员不是Bot)
MemberHonorChangeEvent(MemberHonorChangeEvent)
群员称号改变
NewFriendRequestEvent(NewFriendRequestEvent)
添加好友申请
MemberJoinRequestEvent(MemberJoinRequestEvent)
用户入群申请(Bot需要有管理员权限)
BotInvitedJoinGroupRequestEvent(BotInvitedJoinGroupRequestEvent)
Bot被邀请入群申请
CommandExecutedEvent(CommandExecutedEvent)
命令被执行
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V