From 1860321b36d937552248c3d72ae91dfb1d512e78 Mon Sep 17 00:00:00 2001 From: shenjack <3695888@qq.com> Date: Sat, 4 May 2024 14:16:09 +0800 Subject: [PATCH] fix ica_typing --- ica-rs/ica_typing.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ica-rs/ica_typing.py b/ica-rs/ica_typing.py index 75c8984..857fd87 100644 --- a/ica-rs/ica_typing.py +++ b/ica-rs/ica_typing.py @@ -91,6 +91,7 @@ class IcaNewMessage: """ def reply_with(self, message: str) -> IcaSendMessage: """回复这条消息""" + ... def as_deleted(self) -> IcaDeleteMessage: ... def __str__(self) -> str: @@ -113,15 +114,18 @@ class IcaNewMessage: @property def is_room_msg(self) -> bool: """是否是群聊消息""" + ... @property def is_chat_msg(self) -> bool: """是否是私聊消息""" + ... @property def room_id(self) -> IcaType.RoomId: """ 如果是群聊消息, 返回 (-群号) 如果是私聊消息, 返回 对面qq """ + ... class IcaClient: @@ -156,10 +160,13 @@ class IcaClient: def debug(self, message: str) -> None: """向日志中输出调试信息""" + ... def info(self, message: str) -> None: """向日志中输出信息""" + ... def warn(self, message: str) -> None: """向日志中输出警告信息""" + ... class TailchatReciveMessage: