Compare commits
2 Commits
@egg/lark-
...
@egg/lark-
Author | SHA1 | Date | |
---|---|---|---|
39f6bfd7f5 | |||
64f84e53a2 |
2
package-lock.json
generated
2
package-lock.json
generated
@ -12122,7 +12122,7 @@
|
||||
},
|
||||
"packages/lark-msg-tool": {
|
||||
"name": "@egg/lark-msg-tool",
|
||||
"version": "1.6.3",
|
||||
"version": "1.7.0",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@egg/logger": "^1.4.3",
|
||||
|
@ -3,6 +3,12 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
# [1.7.0](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/lark-msg-tool@1.6.3...@egg/lark-msg-tool@1.7.0) (2024-10-12)
|
||||
|
||||
### Features
|
||||
|
||||
- **lark-msg:** 更新LarkBody类属性类型 ([64f84e5](http://yingbo.im:3000/zhaoyingbo/egg_tools/commits/64f84e53a2c0cda24961bd15691c929c4ebcfbf0))
|
||||
|
||||
## [1.6.3](http://yingbo.im:3000/zhaoyingbo/egg_tools/compare/@egg/lark-msg-tool@1.6.2...@egg/lark-msg-tool@1.6.3) (2024-10-12)
|
||||
|
||||
**Note:** Version bump only for package @egg/lark-msg-tool
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@egg/lark-msg-tool",
|
||||
"version": "1.6.3",
|
||||
"version": "1.7.0",
|
||||
"description": "Lark Msg Tools for Egg projects",
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
@ -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"] = ""
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
|
Loading…
x
Reference in New Issue
Block a user