Get desktop application:
View/edit binary Protocol Buffers messages
消息投递
设备id
文件描述符
数据
(message has no fields)
注册设备
app_id
设备类型
厂商
机型
系统版本
sdk版本号
设备id
添加用户
用户信息
(message has no fields)
获取用户信息
用户id
用户信息
发送消息
创建群组
(message has no fields)
更新群组
(message has no fields)
获取群组信息
获取用户加入的所有群组
(message has no fields)
添加群组成员
(message has no fields)
更新群组成员信息
(message has no fields)
添加群组成员
群组id
用户id
(message has no fields)
登录
app_id
设备id
用户id
秘钥
服务器地址
tcp长连接对应的文件描述符
(message has no fields)
消息同步
appId
用户id
设备id
客户端已经同步的序列号
消息列表
设备收到消息回执
appId
用户id
设备id
消息id
设备收到消息的确认号
消息接收时间戳,精确到毫秒
(message has no fields)
设备离线
appId
用户id
设备id
(message has no fields)
发送消息
Command 指令推送,1000以下,IM内部用,1000以上,留给业务用
Used in:
指令码
数据内容
自定义消息
Used in:
自定义数据
服务器未知错误
未登录或者需要重新登录
不是好友关系
用户没有在群组内
设备没有绑定用户
请求参数错误
用户已经存在
群组已经存在
群组不存在
用户不存在
表情消息
Used in:
文件消息
Used in:
文件id
文件名
文件大小
文件url
Used in:
, , ,群组id
名称
简介
用户数
群组类型
附加字段
创建时间
更新时间
群组用户
Used in:
,群组id
用户id
标签
附加属性
图片消息
Used in:
图片id
图片宽度
图片长度
图片URL
图片缩略图url
上行数据
包的类型
请求id
数据
地理位置消息
Used in:
描述
经度
纬度
消息投递,package_type:4
Used in:
消息
投递消息回执,package_type:4
设备收到消息的确认号
消息接收时间戳,精确到毫秒
消息体
Used in:
,消息类型
消息内容
消息内容,MessageType:1
Used in:
文本
表情
语音消息
图片
文件
地理位置
指令
自定义消息类型数据
单条消息投递内容,todo 通知栏提醒
Used in:
, ,请求id
发送者类型,1:系统,2:用户,3:第三方业务系统
发送者id
发送者设备id
接收者类型,1:user;2:group
用户id或者群组id
需要@的用户id列表
消息体
用户消息发送序列号
消息发送时间戳,精确到毫秒
消息状态
Used in:
未知的
正常的
撤回
消息类型
Used in:
未知
文本
表情
语音消息
图片
文件
地理位置
指令推送
自定义
下行数据
包的类型
请求id
错误码
错误信息
数据
Used in:
,未知
设备登录请求
消息同步触发
心跳
消息投递
Used in:
,未知
用户
普通群组
大群组
Used as request type in: LogicClientExt.SendMessage, LogicServerExt.SendMessage
消息id
接收者类型,1:user;2:group
用户id或者群组id
需要@的用户id列表
消息体
消息发送时间戳,精确到毫秒
是否将消息持久化到数据库
Used as response type in: LogicClientExt.SendMessage, LogicServerExt.SendMessage
(message has no fields)
Used in:
未知的
IM系统
用户
业务方
设备登录,package_type:1
app_id
设备id
用户id
秘钥
消息同步请求,package_type:2
客户端已经同步的序列号
消息同步响应,package_type:2
消息列表
文本消息
Used in:
文本消息内容
Used in:
,用户id
昵称
性别
头像地址
附加字段
创建时间
更新时间
语音消息
Used in:
语音包id
语音包大小
语音时长
语音文件URL