- 文档必读
- 客户端
- 联系人
- 群组
- 企业微信数据
- 好友操作
- 加好友
- 群操作
- 发送消息
- 发送文本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表情
开发中
POST
/
请求参数
Body 参数application/json
data
object
必需
to_wxid
string
必需
content
string
必需
client_id
integer
必需
type
string
必需
示例
{
"data": {
"to_wxid": "filehelper",
"file": "D:\\微信文件\\WeChat Files\\fasdsfsa\\FileStorage\\File\\2022-05\\下载\\下载.gif"
},
"client_id": 1,
"type": "MT_SEND_GIFMSG"
}
示例代码
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": {
"to_wxid": "filehelper",
"file": "D:\\微信文件\\WeChat Files\\fasdsfsa\\FileStorage\\File\\2022-05\\下载\\下载.gif"
},
"client_id": 1,
"type": "MT_SEND_GIFMSG"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2022-12-15 14:36:54