mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-18 02:16:07 +00:00
perf(wecom): add supports for images
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user