🐛 fix ding adapter

1. fix send `at_sender`
2. fix event parse error
3. `MessageSegment` add `atDingtalkIds`/`code`
This commit is contained in:
Artin
2021-01-29 14:31:36 +08:00
parent 06837d4a56
commit 27e06dd4e8
4 changed files with 72 additions and 23 deletions

View File

@ -77,7 +77,7 @@ class MessageEvent(Event):
conversationId: str
senderId: str
senderNick: str
senderCorpId: str
senderCorpId: Optional[str]
sessionWebhook: str
sessionWebhookExpiredTime: int
isAdmin: bool