- 文档必读
- 客户端控制
- 登录信息
- 消息
- 联系人
- 群组
- 标签
- CDN
- 朋友圈
- 开放平台双向互通
发送图片(新版)
POST
/
请求参数
Body 参数application/json
data
object
必需
conversation_id
string
必需
file_id
string
必需
file_name
string
必需
image_width
integer
必需
image_height
integer
必需
aes_key
string
必需
md5
string
必需
size
integer
必需
type
string
必需
client_id
integer
必需
示例
{
"data": {
"conversation_id": "S:1688850535xx2_78813022xxx2998",
"file_id": "3069020102046230600201000204283cabaa02030f424102043c986eb4020461967039042431376332326538612d656533342d346537642d623531332d37393762376436336531663702010002030ec8700410059b34e084cf19a38a92a677177863d20201010201000400",
"file_name": "750x1250-1.jpg",
"image_width": 750,
"image_height": 1250,
"aes_key": "61393132623366353662313133653735",
"md5": "059b34e084cf19a38a92a677177863d2",
"size": 968802
},
"type": "WW_SEND_IMG_V2_MSG",
"client_id": 1
}
示例代码
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": {
"conversation_id": "S:1688850535xx2_78813022xxx2998",
"file_id": "3069020102046230600201000204283cabaa02030f424102043c986eb4020461967039042431376332326538612d656533342d346537642d623531332d37393762376436336531663702010002030ec8700410059b34e084cf19a38a92a677177863d20201010201000400",
"file_name": "750x1250-1.jpg",
"image_width": 750,
"image_height": 1250,
"aes_key": "61393132623366353662313133653735",
"md5": "059b34e084cf19a38a92a677177863d2",
"size": 968802
},
"type": "WW_SEND_IMG_V2_MSG",
"client_id": 1
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}