Skip to content

Commit

Permalink
KOOK采用卡片格式发送消息
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed Oct 28, 2023
1 parent 2149ebf commit 54b3dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OlivOS/kaiheilaSDK.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ def get_Event_from_SDK(target_event):

# 支持OlivOS API调用的方法实现
class event_action(object):
def send_msg(target_event, chat_id, message, flag_direct=False, message_type='text'):
def send_msg(target_event, chat_id, message, flag_direct=False, message_type='card'):
if message_type not in ['text', 'card']:
message_type = 'card'
this_msg = None
Expand Down

0 comments on commit 54b3dea

Please sign in to comment.