This commit is contained in:
2020-04-25 23:18:30 +08:00
parent 85cfeefbfa
commit 76a8c7dc2e
4 changed files with 65 additions and 3 deletions

View File

@@ -88,9 +88,29 @@ dt.send_message(&DingTalkMessage::new_action_card("action card 002", "action car
).await?;
```
#### JSON Config
DingTalk config:
```json
{
"access_token": "<access token>",
"sec_token": "<sec token>"
}
```
WeChat Work config:
```json
{
"type": "wechat",
"access_token": "<token>"
}
```
#### Changelog
* v1.3.0
* Suports WeChat Work now, add type `"type": "wechat"`, supports method `DingTalk::send_text`
* v1.2.1
* Remove `maplit` crate
* v1.2.0