new DingtalkIsvMessage(config, app)
- Source:
egg-dingtalk-isv-message插件
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Egg.js插件配置 |
app |
Object | Egg.js应用 |
Methods
(async) chat(access_token, data) → {Object}
- Source:
- See:
发送普通消息
Parameters:
Name | Type | Description |
---|---|---|
access_token |
String | 令牌 |
data |
String | 消息体 |
Returns:
发送结果
- Type
- Object
(async) notify(access_token, data) → {Object}
- Source:
- See:
发送工作消息
Parameters:
Name | Type | Description |
---|---|---|
access_token |
String | 令牌 |
data |
String | 消息体 |
Returns:
发送结果
- Type
- Object