- 文档必读
- 客户端
- 联系人
- 群组
- 企业微信数据
- 好友操作
- 加好友
- 群操作
- 发送消息
- 发送文本POST
- 发送文本(新版)POST
- 发送群聊@消息POST
- 发送群聊@消息(新版)POST
- 发送名片消息POST
- 发送名片消息(新版)POST
- 发送链接消息POST
- 发送图片消息POST
- 发送图片消息(CDN)POST
- 发送图片(URL)POST
- 发送文件消息POST
- 发送文件消息(CDN)POST
- 发送视频消息POST
- 发送视频消息(CDN)POST
- 发送gif表情POST
- 发送gif表情(CDN)POST
- 发送位置消息POST
- 主动撤回消息POST
- 主动撤回消息(新版)POST
- 发送视频号消息POST
- 发送XMLPOST
- 发送XML(新版)POST
- 转发小程序POST
- 发送小程序消息POST
- 发送小程序(xml) 模式POST
- 转发消息POST
- 发送文件消息(URL)POST
- 解密类
- 标签
- 朋友圈
- 视频号
- 直播
- CDN
- 其他
发送gif表情(CDN)
开发中
POST
/
请求参数
Body 参数application/json
data
object
必需
aes_key
string
必需
file_id
string
必需
file_md5
string
必需
file_size
integer
必需
to_wxid
string
必需
client_id
integer
必需
type
string
必需
示例
{
"data": {
"aes_key": "24b6123e04d1d08702143658917c85e7",
"file_id": "3057020100044b3049020100020462ac90a202032df4d9020428fb131b020462e15ab0042435306239613864642d626562392d343535612d383663662d6431666335373935396266630204011400050201000405004c4c6d00",
"file_md5": "a2ed2d6159ad865c93ba25db74df4616",
"file_size": 393652,
"to_wxid": "filehelper"
},
"client_id": 1,
"type": "MT_SEND_GIF_V2_MSG"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"aes_key": "24b6123e04d1d08702143658917c85e7",
"file_id": "3057020100044b3049020100020462ac90a202032df4d9020428fb131b020462e15ab0042435306239613864642d626562392d343535612d383663662d6431666335373935396266630204011400050201000405004c4c6d00",
"file_md5": "a2ed2d6159ad865c93ba25db74df4616",
"file_size": 393652,
"to_wxid": "filehelper"
},
"client_id": 1,
"type": "MT_SEND_GIF_V2_MSG"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-12-15 14:36:54