mirror of
https://github.com/seepine/action-wechat-work.git
synced 2025-01-18 13:16:38 +08:00
支持文件类型
This commit is contained in:
parent
fca74f481b
commit
b91f63ab83
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -53,4 +53,4 @@ jobs:
|
||||
WECHAT_WORK_BOT_WEBHOOK: ${{secrets.WECHAT_WORK_BOT_WEBHOOK}}
|
||||
with:
|
||||
msgtype: file
|
||||
media_id: '3a8asd892asd8asd'
|
||||
media_id: '2eNNDDAZxBnhGvz_KafNtCGC5lZOwJraS5BEe8EvzNAncouNQQrAghfE47uV5RGrg'
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user