|
@@ -1483,6 +1483,77 @@ func (x *CurrencyResp) GetErrorMsg() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
+type ConversationReq struct {
|
|
|
+ state protoimpl.MessageState
|
|
|
+ sizeCache protoimpl.SizeCache
|
|
|
+ unknownFields protoimpl.UnknownFields
|
|
|
+
|
|
|
+ NewUserId int64 `protobuf:"varint,4,opt,name=newUserId,proto3" json:"newUserId,omitempty"` //用户标识
|
|
|
+ UserType int64 `protobuf:"varint,5,opt,name=userType,proto3" json:"userType,omitempty"` //用户类型:2用户1客服
|
|
|
+ EntUserId int64 `protobuf:"varint,6,opt,name=entUserId,proto3" json:"entUserId,omitempty"` //企业标识
|
|
|
+ FiltrationId string `protobuf:"bytes,10,opt,name=filtrationId,proto3" json:"filtrationId,omitempty"` //客服列表过滤会话中派对中用户
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) Reset() {
|
|
|
+ *x = ConversationReq{}
|
|
|
+ if protoimpl.UnsafeEnabled {
|
|
|
+ mi := &file_messagecenter_proto_msgTypes[17]
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) String() string {
|
|
|
+ return protoimpl.X.MessageStringOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+func (*ConversationReq) ProtoMessage() {}
|
|
|
+
|
|
|
+func (x *ConversationReq) ProtoReflect() protoreflect.Message {
|
|
|
+ mi := &file_messagecenter_proto_msgTypes[17]
|
|
|
+ if protoimpl.UnsafeEnabled && x != nil {
|
|
|
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
+ if ms.LoadMessageInfo() == nil {
|
|
|
+ ms.StoreMessageInfo(mi)
|
|
|
+ }
|
|
|
+ return ms
|
|
|
+ }
|
|
|
+ return mi.MessageOf(x)
|
|
|
+}
|
|
|
+
|
|
|
+// Deprecated: Use ConversationReq.ProtoReflect.Descriptor instead.
|
|
|
+func (*ConversationReq) Descriptor() ([]byte, []int) {
|
|
|
+ return file_messagecenter_proto_rawDescGZIP(), []int{17}
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) GetNewUserId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.NewUserId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) GetUserType() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.UserType
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) GetEntUserId() int64 {
|
|
|
+ if x != nil {
|
|
|
+ return x.EntUserId
|
|
|
+ }
|
|
|
+ return 0
|
|
|
+}
|
|
|
+
|
|
|
+func (x *ConversationReq) GetFiltrationId() string {
|
|
|
+ if x != nil {
|
|
|
+ return x.FiltrationId
|
|
|
+ }
|
|
|
+ return ""
|
|
|
+}
|
|
|
+
|
|
|
var File_messagecenter_proto protoreflect.FileDescriptor
|
|
|
|
|
|
var file_messagecenter_proto_rawDesc = []byte{
|
|
@@ -1682,7 +1753,16 @@ var file_messagecenter_proto_rawDesc = []byte{
|
|
|
0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
|
0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a,
|
|
|
0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x32, 0xfc, 0x05, 0x0a, 0x0d, 0x6d,
|
|
|
+ 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x22, 0x8d, 0x01, 0x0a, 0x0f, 0x43,
|
|
|
+ 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x1c,
|
|
|
+ 0x0a, 0x09, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
+ 0x03, 0x52, 0x09, 0x6e, 0x65, 0x77, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08,
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
|
+ 0x75, 0x73, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x55,
|
|
|
+ 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74,
|
|
|
+ 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x66, 0x69, 0x6c, 0x74, 0x72, 0x61,
|
|
|
+ 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x69,
|
|
|
+ 0x6c, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x32, 0xc9, 0x06, 0x0a, 0x0d, 0x6d,
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x3a, 0x0a, 0x05,
|
|
|
0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x17, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63,
|
|
|
0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x18,
|
|
@@ -1730,9 +1810,14 @@ var file_messagecenter_proto_rawDesc = []byte{
|
|
|
0x12, 0x1a, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
|
|
|
0x2e, 0x41, 0x70, 0x70, 0x72, 0x61, 0x69, 0x73, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1b, 0x2e, 0x6d,
|
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x75, 0x72,
|
|
|
- 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x6d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72,
|
|
|
- 0x6f, 0x74, 0x6f, 0x33,
|
|
|
+ 0x72, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4b, 0x0a, 0x10, 0x43, 0x6f, 0x6e,
|
|
|
+ 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x6f,
|
|
|
+ 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x17, 0x2e,
|
|
|
+ 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x2e, 0x55, 0x73,
|
|
|
+ 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x42, 0x11, 0x5a, 0x0f, 0x2e, 0x2f, 0x6d, 0x65, 0x73, 0x73,
|
|
|
+ 0x61, 0x67, 0x65, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
+ 0x33,
|
|
|
}
|
|
|
|
|
|
var (
|
|
@@ -1747,7 +1832,7 @@ func file_messagecenter_proto_rawDescGZIP() []byte {
|
|
|
return file_messagecenter_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_messagecenter_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
|
|
|
+var file_messagecenter_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
|
|
|
var file_messagecenter_proto_goTypes = []interface{}{
|
|
|
(*CountReq)(nil), // 0: messagecenter.CountReq
|
|
|
(*CountResp)(nil), // 1: messagecenter.CountResp
|
|
@@ -1766,6 +1851,7 @@ var file_messagecenter_proto_goTypes = []interface{}{
|
|
|
(*ReadWithdrawReq)(nil), // 14: messagecenter.ReadWithdrawReq
|
|
|
(*AppraiseReq)(nil), // 15: messagecenter.AppraiseReq
|
|
|
(*CurrencyResp)(nil), // 16: messagecenter.CurrencyResp
|
|
|
+ (*ConversationReq)(nil), // 17: messagecenter.ConversationReq
|
|
|
}
|
|
|
var file_messagecenter_proto_depIdxs = []int32{
|
|
|
8, // 0: messagecenter.CountResp.lastMessage:type_name -> messagecenter.MessageEntity
|
|
@@ -1782,18 +1868,20 @@ var file_messagecenter_proto_depIdxs = []int32{
|
|
|
13, // 11: messagecenter.messageCenter.UpdateReadById:input_type -> messagecenter.ReadStateReq
|
|
|
14, // 12: messagecenter.messageCenter.WithdrawMessage:input_type -> messagecenter.ReadWithdrawReq
|
|
|
15, // 13: messagecenter.messageCenter.AppraiseMessage:input_type -> messagecenter.AppraiseReq
|
|
|
- 1, // 14: messagecenter.messageCenter.Count:output_type -> messagecenter.CountResp
|
|
|
- 3, // 15: messagecenter.messageCenter.UserList:output_type -> messagecenter.UserResp
|
|
|
- 6, // 16: messagecenter.messageCenter.FindMessage:output_type -> messagecenter.MessageResp
|
|
|
- 7, // 17: messagecenter.messageCenter.SaveMessage:output_type -> messagecenter.SaveMessageResp
|
|
|
- 11, // 18: messagecenter.messageCenter.CreateChatSession:output_type -> messagecenter.ChatSessionResp
|
|
|
- 11, // 19: messagecenter.messageCenter.CloseChatSession:output_type -> messagecenter.ChatSessionResp
|
|
|
- 6, // 20: messagecenter.messageCenter.SaveAutoReplyMsg:output_type -> messagecenter.MessageResp
|
|
|
- 16, // 21: messagecenter.messageCenter.UpdateReadById:output_type -> messagecenter.CurrencyResp
|
|
|
- 16, // 22: messagecenter.messageCenter.WithdrawMessage:output_type -> messagecenter.CurrencyResp
|
|
|
- 16, // 23: messagecenter.messageCenter.AppraiseMessage:output_type -> messagecenter.CurrencyResp
|
|
|
- 14, // [14:24] is the sub-list for method output_type
|
|
|
- 4, // [4:14] is the sub-list for method input_type
|
|
|
+ 17, // 14: messagecenter.messageCenter.ConversationList:input_type -> messagecenter.ConversationReq
|
|
|
+ 1, // 15: messagecenter.messageCenter.Count:output_type -> messagecenter.CountResp
|
|
|
+ 3, // 16: messagecenter.messageCenter.UserList:output_type -> messagecenter.UserResp
|
|
|
+ 6, // 17: messagecenter.messageCenter.FindMessage:output_type -> messagecenter.MessageResp
|
|
|
+ 7, // 18: messagecenter.messageCenter.SaveMessage:output_type -> messagecenter.SaveMessageResp
|
|
|
+ 11, // 19: messagecenter.messageCenter.CreateChatSession:output_type -> messagecenter.ChatSessionResp
|
|
|
+ 11, // 20: messagecenter.messageCenter.CloseChatSession:output_type -> messagecenter.ChatSessionResp
|
|
|
+ 6, // 21: messagecenter.messageCenter.SaveAutoReplyMsg:output_type -> messagecenter.MessageResp
|
|
|
+ 16, // 22: messagecenter.messageCenter.UpdateReadById:output_type -> messagecenter.CurrencyResp
|
|
|
+ 16, // 23: messagecenter.messageCenter.WithdrawMessage:output_type -> messagecenter.CurrencyResp
|
|
|
+ 16, // 24: messagecenter.messageCenter.AppraiseMessage:output_type -> messagecenter.CurrencyResp
|
|
|
+ 3, // 25: messagecenter.messageCenter.ConversationList:output_type -> messagecenter.UserResp
|
|
|
+ 15, // [15:26] is the sub-list for method output_type
|
|
|
+ 4, // [4:15] is the sub-list for method input_type
|
|
|
4, // [4:4] is the sub-list for extension type_name
|
|
|
4, // [4:4] is the sub-list for extension extendee
|
|
|
0, // [0:4] is the sub-list for field type_name
|
|
@@ -2009,6 +2097,18 @@ func file_messagecenter_proto_init() {
|
|
|
return nil
|
|
|
}
|
|
|
}
|
|
|
+ file_messagecenter_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
|
+ switch v := v.(*ConversationReq); i {
|
|
|
+ case 0:
|
|
|
+ return &v.state
|
|
|
+ case 1:
|
|
|
+ return &v.sizeCache
|
|
|
+ case 2:
|
|
|
+ return &v.unknownFields
|
|
|
+ default:
|
|
|
+ return nil
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
@@ -2016,7 +2116,7 @@ func file_messagecenter_proto_init() {
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
RawDescriptor: file_messagecenter_proto_rawDesc,
|
|
|
NumEnums: 0,
|
|
|
- NumMessages: 17,
|
|
|
+ NumMessages: 18,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 1,
|
|
|
},
|