diff --git a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py index 55d5247f..a31badab 100644 --- a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py +++ b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py @@ -216,6 +216,11 @@ class PrivateMessageEvent(MessageEvent): event: PrivateMessageEventDetail +class NoticeEvent(Event): + #TODO:实现该事件 + ... + + class MessageReader(BaseModel): reader_id: UserId read_time: str @@ -227,16 +232,11 @@ class MessageReadEventDetail(BaseModel): message_id_list: List[str] -class MessageReadEvent(Event): +class MessageReadEvent(NoticeEvent): __event__ = "im.message.message_read_v1" event: MessageReadEventDetail -class NoticeEvent(Event): - #TODO:实现该事件 - ... - - _t = StringTrie(separator=".") # define `model` first to avoid globals changing while `for`