|
@@ -255,6 +255,22 @@ message ConversationReq {
|
|
|
int64 entUserId = 6; //企业标识
|
|
|
string filtrationId = 10; //客服列表过滤会话中派对中用户
|
|
|
}
|
|
|
+
|
|
|
+//聊天保存
|
|
|
+message MessageSaveReq {
|
|
|
+ string title = 1; //标题
|
|
|
+ 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]
|
|
|
+ int64 item = 8; //1-活动优惠 2-服务通知 3-订阅消息 4-项目动态 5-企业动态 6-分析报告 7-系统通知 8-聊天消息
|
|
|
+ int64 messageType =9;//1:文本 2:链接 3:图片 4:附件
|
|
|
+ string link =10; //链接
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
service messageCenter {
|
|
|
// 查询数量
|
|
|
rpc Count(CountReq) returns(CountResp);
|
|
@@ -296,4 +312,6 @@ service messageCenter {
|
|
|
rpc AppraiseMessage(AppraiseReq) returns(CurrencyResp);
|
|
|
// 客服列表查询
|
|
|
rpc ConversationList(ConversationReq) returns(UserResp);
|
|
|
+ // 群聊
|
|
|
+ rpc GroupChat(MessageSaveReq)returns(CommonReq);
|
|
|
}
|