文档
测试

系统推送消息

POST
http://127.0.0.1:9090/imApi/message/sendSystemMessage

请求头

参数名
类型
描述
必填
access-token
string
示例:a1f9dc0dc2526b3caefc7994f2caeaea
必填

请求参数

参数名
类型
描述
必填
content
string
系统消息内容
必填
action
string
默认2,系统向用户发送的普通消息
必填
sender
string
发送者系统默认:system
必填
receiverList
array
接收者账号集合,eg:["zangjintian","jiangjie"]
必填
format
string
消息内容格式 0:文字消息,1:图片,2:语音,3:文件,8:视频
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
timestamp
int
示例:1606204115138
必填
id
int
示例:1331142657192079400
必填