添加一些tailchat的py api (虽说还没实际实现
This commit is contained in:
parent
b3e2da9df6
commit
427b113312
@ -162,6 +162,34 @@ class IcaClient:
|
|||||||
"""向日志中输出警告信息"""
|
"""向日志中输出警告信息"""
|
||||||
|
|
||||||
|
|
||||||
|
class TailchatReciveMessage:
|
||||||
|
"""
|
||||||
|
Tailchat 接收到的新消息
|
||||||
|
"""
|
||||||
|
@property
|
||||||
|
def id(self) -> TailchatType.MessageId:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def content(self) -> str:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def sender_id(self) -> TailchatType.UserId:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def is_from_self(self) -> bool:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def is_reply(self) -> bool:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def group_id(self) -> TailchatType.GroupId:
|
||||||
|
...
|
||||||
|
@property
|
||||||
|
def converse_id(self) -> TailchatType.ConverseId:
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class TailchatClient:
|
class TailchatClient:
|
||||||
"""
|
"""
|
||||||
Tailchat 的客户端
|
Tailchat 的客户端
|
||||||
|
Loading…
Reference in New Issue
Block a user