支持文件类型

This commit is contained in:
guanhongfu 2021-04-26 16:16:36 +08:00
parent fca74f481b
commit b91f63ab83
2 changed files with 2 additions and 2 deletions

View File

@ -53,4 +53,4 @@ jobs:
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
with:
msgtype: file
media_id: '3a8asd892asd8asd'
media_id: '2eNNDDAZxBnhGvz_KafNtCGC5lZOwJraS5BEe8EvzNAncouNQQrAghfE47uV5RGrg'

View File

@ -113,7 +113,7 @@ articles.picurl | false | 图文消息的图片链接,支持 JPG、PNG 格式
参数 | 必须 | 说明
------------ | ------------- | -------------
msgtype | true | 消息类型,此时固定为 file
media_id | true | 文件 id通过[文件上传接口](https://work.weixin.qq.com/api/doc/90000/90136/91770)获取
media_id | true | 文件 id通过 [文件上传接口](https://work.weixin.qq.com/api/doc/90000/90136/91770) 获取
### 更多详细参数说明,参见 [https://work.weixin.qq.com/api/doc/90000/90136/91770](https://work.weixin.qq.com/api/doc/90000/90136/91770)