Send a message
POST
/oauth最后修改时间:: 7 个月前
责任人:
We only allow submission of HTTP (s) links to add files, so you must provide a URL link.
请求参数
Body 参数multipart/form-data
module
string
必需
Module name, Cannot be changed.
示例值:
send_message
message_type
string
必需
Message type, The allowed values are "text", "image", "share_link"
If the value is image, then an image with the field image needs to be submitted through post.
示例值:
image
to_uid
integer
必需
Opposite user ID.
示例值:
31
message
string
可选
Message Content.
示例值:
test message
image
file
可选
When the message type is image, an image needs to be uploaded.
The image size must be less than 5mb.
There are several allowed mimes: 'image/gif', 'image/jpg', 'image/jpeg', 'image/png'
示例值:
cmMtdXBsb2FkLTE3MTA5MjQ2ODQwNzQtMTA=/202401260937422790_序号15_提交参赛作品(每次只能投递一个_图2_文件2.jpg
示例代码
返回响应
Success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
object {0}
示例
{}
最后修改时间: 7 个月前