企达即时通讯手册
Api接口
原生Js
JsApi
对接指南
首页
人员管理
客户管理
组织管理
群组管理
角色管理
联系人管理
会话管理
即时通讯
标签接口
令牌接口
媒体接口
媒体2接口
会议接口
云盘接口
考勤接口
视频管理接口
点赞接口
投诉管理
通用接口
服务接口
缓存接口
同步接口
日志登记
Api接口
im
sendmsg
接口地址
[接口服务器地址]/api/im/user.html
发送消息
*
lang
语言 zh-cn,en
*
appid
应用ID,
如何得到应用ID
*
authen
认证码,
如何生成认证码
*
uid
当前用户ID,可以用 1 ,为系统管理员
*
sender
发送者ID
*
recver
接收者 用户:json格式 [{"id":"100","name":"test1","type":"u"}] type: u 用户 d 部门 o 组织 t 标签
subject
标题 为空时会截取content内容
*
msg_type
消息类型 text,image,file,voice,shoot,location,app,link
content
内容
查看消息内容格式说明
file
文件 当消息类型时 file,image,voice,shoot时,可以由file自动生成content,content为空
content_type
内容类型 文本:Text/Btf
msgexttype
消息的扩展类型 可用来消息分类 如 schedule
extdata
扩展数据
返回
返回结果
注意事项
recver.type 默认u , u:用户 o:组织 g:表示群组 t:标签