Package com.mikuac.shiro.handler.event
Class NoticeEvent
java.lang.Object
com.mikuac.shiro.handler.event.NoticeEvent
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Map<String,BiConsumer<Bot, com.alibaba.fastjson2.JSONObject>> 存储通知事件处理器 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchannelCreated(Bot bot, com.alibaba.fastjson2.JSONObject resp) 子频道创建voidchannelDestroyed(Bot bot, com.alibaba.fastjson2.JSONObject resp) 子频道删除voidchannelUpdated(Bot bot, com.alibaba.fastjson2.JSONObject resp) 子频道信息更新void好友添加voidgroupAdmin(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群管理员变动void群禁言voidgroupCardChange(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群成员名片更新voidgroupDecrease(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群成员减少voidgroupIncrease(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群成员增加voidgroupMsgDelete(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群消息撤回voidgroupUpload(Bot bot, com.alibaba.fastjson2.JSONObject resp) 群文件上传void通知事件分发voidmessageReactionsUpdated(Bot bot, com.alibaba.fastjson2.JSONObject resp) 频道消息表情贴更新void子通知事件voidofflineFile(Bot bot, com.alibaba.fastjson2.JSONObject resp) 接收到离线文件voidprivateMsgDelete(Bot bot, com.alibaba.fastjson2.JSONObject resp) voidsetInjection(InjectionHandler injection) voidsetNotify(NotifyEvent notify) voidsetUtils(EventUtils utils)
-
Field Details
-
handlers
存储通知事件处理器
-
-
Constructor Details
-
NoticeEvent
public NoticeEvent()
-
-
Method Details
-
setUtils
-
setInjection
-
setNotify
-
handler
通知事件分发- Parameters:
bot-Botresp-JSONObject
-
groupUpload
群文件上传- Parameters:
bot-Botresp-JSONObject
-
groupAdmin
群管理员变动- Parameters:
bot-Botresp-JSONObject
-
groupDecrease
群成员减少- Parameters:
bot-Botresp-JSONObject
-
groupIncrease
群成员增加- Parameters:
bot-Botresp-JSONObject
-
groupBan
群禁言- Parameters:
bot-Botresp-JSONObject
-
friendAdd
好友添加- Parameters:
bot-Botresp-JSONObject
-
groupMsgDelete
群消息撤回- Parameters:
bot-Botresp-JSONObject
-
privateMsgDelete
- Parameters:
bot-Botresp-JSONObject
-
groupCardChange
群成员名片更新- Parameters:
bot-Botresp-JSONObject
-
offlineFile
接收到离线文件- Parameters:
bot-Botresp-JSONObject
-
channelCreated
子频道创建- Parameters:
bot-Botresp-JSONObject
-
channelDestroyed
子频道删除- Parameters:
bot-Botresp-JSONObject
-
channelUpdated
子频道信息更新- Parameters:
bot-Botresp-JSONObject
-
messageReactionsUpdated
频道消息表情贴更新- Parameters:
bot-Botresp-JSONObject
-
notify
子通知事件- Parameters:
bot-Botresp-JSONObject
-