|
@@ -22,18 +22,18 @@ message UserReq {
|
|
|
int64 userType = 5; //用户类型:2用户1客服
|
|
|
int64 entUserId = 6; //客服id
|
|
|
int64 page = 7; //页
|
|
|
- int64 size =8; //数
|
|
|
- int64 isArtificial =9; //是否人工介入 1:人工介入 2:非让人工介入
|
|
|
+ int64 size = 8; //数
|
|
|
+ int64 isArtificial = 9; //是否人工介入 1:人工介入 2:非让人工介入
|
|
|
string filtrationId = 10; //客服列表过滤会话中派对中用户
|
|
|
int64 entId = 11;
|
|
|
int64 queryType = 12;
|
|
|
- string nameSearch =13;
|
|
|
+ string nameSearch = 13;
|
|
|
int64 positionId = 14; //用户职位id
|
|
|
}
|
|
|
message UserResp {
|
|
|
- repeated UserEntity data=1;
|
|
|
- int64 error_code = 2; //响应代码
|
|
|
- string error_msg = 3; //响应消息
|
|
|
+ repeated UserEntity data = 1;
|
|
|
+ int64 error_code = 2; //响应代码
|
|
|
+ string error_msg = 3; //响应消息
|
|
|
int64 count = 4; //响应代码
|
|
|
}
|
|
|
message UserEntity {
|
|
@@ -45,10 +45,10 @@ message UserEntity {
|
|
|
string content = 6;
|
|
|
int64 userType = 7;
|
|
|
|
|
|
- int64 create_time= 8;
|
|
|
- int64 number= 9;
|
|
|
- string headimg=11;
|
|
|
- bool isOnline=12;
|
|
|
+ int64 create_time = 8;
|
|
|
+ int64 number = 9;
|
|
|
+ string headimg = 11;
|
|
|
+ bool isOnline = 12;
|
|
|
repeated string groupMember = 13;
|
|
|
}
|
|
|
message MessageReq {
|
|
@@ -84,22 +84,22 @@ message MessageEntity {
|
|
|
string link = 5;
|
|
|
int64 create_time = 6;
|
|
|
|
|
|
- string appid=7;
|
|
|
- int64 itemType=8;
|
|
|
- int64 sendId=9;
|
|
|
- int64 entUserId=10;
|
|
|
- int64 newUserId=16;
|
|
|
- int64 own_type =11;//拥有者类型;1:用户 2:会话
|
|
|
- int64 fool=12;
|
|
|
- string robotName=13;
|
|
|
- string robotImg=14;
|
|
|
- string setName=15;
|
|
|
- int64 receiveId=17;
|
|
|
- string ownImg=18;
|
|
|
- string messageId=19;
|
|
|
- int64 appraise=20;
|
|
|
- repeated int64 groupIds =21;//群聊id [群组id]
|
|
|
- repeated int64 receiverIds =22;//群聊接收人id [接收人为职位id]
|
|
|
+ string appid = 7;
|
|
|
+ int64 itemType = 8;
|
|
|
+ int64 sendId = 9;
|
|
|
+ int64 entUserId = 10;
|
|
|
+ int64 newUserId = 16;
|
|
|
+ int64 own_type = 11;//拥有者类型;1:用户 2:会话
|
|
|
+ int64 fool = 12;
|
|
|
+ string robotName = 13;
|
|
|
+ string robotImg = 14;
|
|
|
+ string setName = 15;
|
|
|
+ int64 receiveId = 17;
|
|
|
+ string ownImg = 18;
|
|
|
+ string messageId = 19;
|
|
|
+ int64 appraise = 20;
|
|
|
+ repeated int64 groupIds = 21;//群聊id [群组id]
|
|
|
+ repeated int64 receiverIds = 22;//群聊接收人id [接收人为职位id]
|
|
|
}
|
|
|
|
|
|
message ChatSessionReq {
|
|
@@ -135,16 +135,16 @@ message ReadStateReq {
|
|
|
message ReadWithdrawReq {
|
|
|
string messageId = 1; //消息id
|
|
|
int64 senderId = 2;//发送人id
|
|
|
- string appid=3;
|
|
|
+ string appid = 3;
|
|
|
int64 recipientId = 4;//接收人id
|
|
|
- int64 userType=5; //用户与客服聊天 发送人类型区分 用户类型:2用户1客服
|
|
|
- int64 conversationType =6;//会话类型 1:一对一用户聊天 2 用户与客服 3 一对群
|
|
|
- int64 entId =7;
|
|
|
- int64 chatGroupId =8;//群id
|
|
|
+ int64 userType = 5; //用户与客服聊天 发送人类型区分 用户类型:2用户1客服
|
|
|
+ int64 conversationType = 6;//会话类型 1:一对一用户聊天 2 用户与客服 3 一对群
|
|
|
+ int64 entId = 7;
|
|
|
+ int64 chatGroupId = 8;//群id
|
|
|
}
|
|
|
|
|
|
message AppraiseReq {
|
|
|
- string appid=1;
|
|
|
+ string appid = 1;
|
|
|
string messageId = 2;
|
|
|
int64 newUserId = 3;
|
|
|
int64 appraise = 4;
|
|
@@ -157,7 +157,7 @@ message CurrencyResp {
|
|
|
message ConversationReq {
|
|
|
int64 entId = 1;
|
|
|
int64 newUserId = 2; //用户标识
|
|
|
- int64 userType=3; //用户类型:2用户1客服
|
|
|
+ int64 userType = 3; //用户类型:2用户1客服
|
|
|
int64 entUserId = 4; //企业标识
|
|
|
string filtrationId = 5; //客服列表过滤会话中派对中用户
|
|
|
}
|
|
@@ -167,12 +167,12 @@ message MessageSaveReq {
|
|
|
string content = 2; //内容
|
|
|
int64 type = 3; //类型; 1:聊天 2:系统消息
|
|
|
string appid = 4;
|
|
|
- repeated int64 groupIds =5;//群聊id [群组id]
|
|
|
- repeated int64 receiverIds =6;//群聊接收人id [接收人为职位id]
|
|
|
- int64 sendId =7; //发送人[发送人职位id]
|
|
|
+ repeated int64 groupIds = 5;//群聊id [群组id]
|
|
|
+ repeated int64 receiverIds = 6;//群聊接收人id [接收人为职位id]
|
|
|
+ int64 sendId = 7; //发送人[发送人职位id]
|
|
|
int64 item = 8; //1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 8-聊天消息
|
|
|
- int64 messageType =9;//1:文本 2:链接 3:图片 4:附件
|
|
|
- string link =10; //链接
|
|
|
+ int64 messageType = 9;//1:文本 2:链接 3:图片 4:附件
|
|
|
+ string link = 10; //链接
|
|
|
}
|
|
|
|
|
|
message CommonReq {
|