feat(lark-msg): 更新LarkBody类属性类型
All checks were successful
/ release (push) Successful in 23s

This commit is contained in:
zhaoyingbo 2024-10-12 03:34:27 +00:00
parent 25bf67c33a
commit 64f84e53a2

View File

@ -4,16 +4,20 @@ class LarkBody {
protected body: LarkEvent.Data | LarkAction.Data
public isEventMsg: boolean = false
public isActionMsg: boolean = false
public msgType?: string
public userId?: string
public msgType?: LarkEvent.Message["message_type"]
public userId?: LarkEvent.UserIdInfo["user_id"]
public msgText: string = ""
public chatType?: string
public mentions?: any
public actionType?: string
public actionValue?: any
public actionOption?: any
public chatId: string = ""
public messageId: string = ""
public chatType?: LarkEvent.Message["chat_type"]
public mentions?: LarkEvent.Mention[]
public actionType?: LarkAction.Data["action"]["tag"]
public actionValue?: LarkAction.Data["action"]["value"]
public actionOption?: LarkAction.Data["action"]["option"]
public chatId:
| LarkEvent.Message["chat_id"]
| LarkAction.Data["open_chat_id"] = ""
public messageId:
| LarkEvent.Message["message_id"]
| LarkAction.Data["open_message_id"] = ""
/**
*