perf(wecom): add supports for images

This commit is contained in:
wangcham
2025-01-20 21:24:46 -05:00
parent 60d4f3d77c
commit 7a01cff0c8
4 changed files with 312 additions and 110 deletions
+7
View File
@@ -35,6 +35,13 @@ class WecomEvent(dict):
str: 事件类型。
"""
return self.get("MsgType", "")
@property
def picurl(self) -> str:
"""
图片链接
"""
return self.get("PicUrl")
@property
def detail_type(self) -> str: