Skip to content

Commit

Permalink
✨ 发送消息时允许使用CQ码
Browse files Browse the repository at this point in the history
  • Loading branch information
XYCode-Kerman committed Jul 21, 2024
1 parent 5fde0c0 commit 0888c70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yiriob/interface/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

class SendPrivateMessageParams(InterfaceParams):
user_id: int
message: MessageChain
message: MessageChain | str
auto_escape: bool = False


Expand All @@ -24,7 +24,7 @@ class SendPrivateMessageInterface(

class SendGroupMessageParams(InterfaceParams):
group_id: int
message: MessageChain
message: MessageChain | str
auto_escape: bool = False


Expand Down

0 comments on commit 0888c70

Please # to comment.