Send a message
POST
/oauth
message
Last modified:2024-03-20 10:24:10
Maintainer:binbin.yin
Request
Header Params
Authorization
string
optional
Default:
Bearer ccca8727aad585ae85e9f49163692f77f4e193982895dcacf37ac6bee3f2b0b081e235474cb1bd935a6fa81bb8aad0d6544d36791ef269e9c8cdaa4840e205dc
Body Params multipart/form-data
module
string
required
Example:
send_message
message_type
string
required
If the value is image, then an image with the field image needs to be submitted through post.
Example:
image
to_uid
integer
required
Example:
31
message
string
optional
Example:
test message
image
file
optional
The image size must be less than 5mb.
There are several allowed mimes: 'image/gif', 'image/jpg', 'image/jpeg', 'image/png'
Example:
cmMtdXBsb2FkLTE3MTA5MjQ2ODQwNzQtMTA=/202401260937422790_序号15_提交参赛作品(每次只能投递一个_图2_文件2.jpg
Request samples
Responses
Modified at 2024-03-20 10:24:10