perf: 优化飞书信息通知文案

pull/11275/head^2
Bai 2023-08-15 11:02:57 +08:00 committed by Bryan
parent 873e6d1ab9
commit 7707101379
1 changed files with 5 additions and 1 deletions

View File

@ -116,9 +116,13 @@ class FeiShu(RequestMixin):
'receive_id_type': 'user_id'
}
"""
https://open.feishu.cn/document/common-capabilities/message-card/message-cards-content
/using-markdown-tags
"""
body = {
'msg_type': 'interactive',
'content': json.dumps({'elements':[{'tag':'markdown','content': msg}]})
'content': json.dumps({'elements': [{'tag': 'markdown', 'content': msg}]})
}
invalid_users = []