Skip to content

Commit be88acc

Browse files
PSC-F鹏飞 张
andauthored
希望作者可以加下参数 (#4)
-增加"消息摘要"参数summary Co-authored-by: 鹏飞 张 <[email protected]>
1 parent 1713c37 commit be88acc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wxpusher/wxpusher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def send_message(cls, content, **kwargs):
2525
payload = {
2626
'appToken': cls._get_token(kwargs.get('token')),
2727
'content': content,
28+
'summary': kwargs.get('summary'),
2829
'contentType': kwargs.get('content_type', 1),
2930
'topicIds': kwargs.get('topic_ids', []),
3031
'uids': kwargs.get('uids', []),

0 commit comments

Comments
 (0)