// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.35.2 // protoc v5.28.3 // source: HistoryMsgPushNotice.proto package workphone import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type ChatMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields FriendId string `protobuf:"bytes,1,opt,name=FriendId,proto3" json:"FriendId,omitempty"` // 好友微信内部全局唯一识别码 ContentType EnumContentType `protobuf:"varint,2,opt,name=ContentType,proto3,enum=Jubo.JuLiao.IM.Wx.Proto.EnumContentType" json:"ContentType,omitempty"` // 发送的消息内容类型 Content []byte `protobuf:"bytes,3,opt,name=Content,proto3" json:"Content,omitempty"` // 内容 二进制流 MsgId int64 `protobuf:"varint,4,opt,name=MsgId,proto3" json:"MsgId,omitempty"` //服务端的主键id MsgSvrId int64 `protobuf:"varint,5,opt,name=MsgSvrId,proto3" json:"MsgSvrId,omitempty"` // 消息唯一id IsSend bool `protobuf:"varint,6,opt,name=IsSend,proto3" json:"IsSend,omitempty"` // 发送或接收 CreateTime int64 `protobuf:"varint,7,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 发送时间 Status int32 `protobuf:"varint,8,opt,name=Status,proto3" json:"Status,omitempty"` // } func (x *ChatMessage) Reset() { *x = ChatMessage{} mi := &file_HistoryMsgPushNotice_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ChatMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ChatMessage) ProtoMessage() {} func (x *ChatMessage) ProtoReflect() protoreflect.Message { mi := &file_HistoryMsgPushNotice_proto_msgTypes[0] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ChatMessage.ProtoReflect.Descriptor instead. func (*ChatMessage) Descriptor() ([]byte, []int) { return file_HistoryMsgPushNotice_proto_rawDescGZIP(), []int{0} } func (x *ChatMessage) GetFriendId() string { if x != nil { return x.FriendId } return "" } func (x *ChatMessage) GetContentType() EnumContentType { if x != nil { return x.ContentType } return EnumContentType_UnknownContent } func (x *ChatMessage) GetContent() []byte { if x != nil { return x.Content } return nil } func (x *ChatMessage) GetMsgId() int64 { if x != nil { return x.MsgId } return 0 } func (x *ChatMessage) GetMsgSvrId() int64 { if x != nil { return x.MsgSvrId } return 0 } func (x *ChatMessage) GetIsSend() bool { if x != nil { return x.IsSend } return false } func (x *ChatMessage) GetCreateTime() int64 { if x != nil { return x.CreateTime } return 0 } func (x *ChatMessage) GetStatus() int32 { if x != nil { return x.Status } return 0 } type HistoryMsgPushNoticeMessage struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields WeChatId string `protobuf:"bytes,1,opt,name=WeChatId,proto3" json:"WeChatId,omitempty"` // 商家个人微信内部全局唯一识别码 Messages []*ChatMessage `protobuf:"bytes,2,rep,name=Messages,proto3" json:"Messages,omitempty"` Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"` // 页大小,固定50 Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"` // 总数,只在获取单个会话时有用,获取全部会话的时候不准确 Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"` // 页码,从0开始 TaskId int64 `protobuf:"varint,6,opt,name=TaskId,proto3" json:"TaskId,omitempty"` } func (x *HistoryMsgPushNoticeMessage) Reset() { *x = HistoryMsgPushNoticeMessage{} mi := &file_HistoryMsgPushNotice_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *HistoryMsgPushNoticeMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*HistoryMsgPushNoticeMessage) ProtoMessage() {} func (x *HistoryMsgPushNoticeMessage) ProtoReflect() protoreflect.Message { mi := &file_HistoryMsgPushNotice_proto_msgTypes[1] if x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use HistoryMsgPushNoticeMessage.ProtoReflect.Descriptor instead. func (*HistoryMsgPushNoticeMessage) Descriptor() ([]byte, []int) { return file_HistoryMsgPushNotice_proto_rawDescGZIP(), []int{1} } func (x *HistoryMsgPushNoticeMessage) GetWeChatId() string { if x != nil { return x.WeChatId } return "" } func (x *HistoryMsgPushNoticeMessage) GetMessages() []*ChatMessage { if x != nil { return x.Messages } return nil } func (x *HistoryMsgPushNoticeMessage) GetSize() int32 { if x != nil { return x.Size } return 0 } func (x *HistoryMsgPushNoticeMessage) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *HistoryMsgPushNoticeMessage) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *HistoryMsgPushNoticeMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } var File_HistoryMsgPushNotice_proto protoreflect.FileDescriptor var file_HistoryMsgPushNotice_proto_rawDesc = []byte{ 0x0a, 0x1a, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x91, 0x02, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x49, 0x64, 0x12, 0x4a, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x4d, 0x73, 0x67, 0x53, 0x76, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x4d, 0x73, 0x67, 0x53, 0x76, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x53, 0x65, 0x6e, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xd1, 0x01, 0x0a, 0x1b, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x4d, 0x73, 0x67, 0x50, 0x75, 0x73, 0x68, 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x57, 0x65, 0x43, 0x68, 0x61, 0x74, 0x49, 0x64, 0x12, 0x40, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x4a, 0x75, 0x62, 0x6f, 0x2e, 0x4a, 0x75, 0x4c, 0x69, 0x61, 0x6f, 0x2e, 0x49, 0x4d, 0x2e, 0x57, 0x78, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x61, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x54, 0x61, 0x73, 0x6b, 0x49, 0x64, 0x42, 0x0d, 0x5a, 0x0b, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_HistoryMsgPushNotice_proto_rawDescOnce sync.Once file_HistoryMsgPushNotice_proto_rawDescData = file_HistoryMsgPushNotice_proto_rawDesc ) func file_HistoryMsgPushNotice_proto_rawDescGZIP() []byte { file_HistoryMsgPushNotice_proto_rawDescOnce.Do(func() { file_HistoryMsgPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(file_HistoryMsgPushNotice_proto_rawDescData) }) return file_HistoryMsgPushNotice_proto_rawDescData } var file_HistoryMsgPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2) var file_HistoryMsgPushNotice_proto_goTypes = []any{ (*ChatMessage)(nil), // 0: Jubo.JuLiao.IM.Wx.Proto.ChatMessage (*HistoryMsgPushNoticeMessage)(nil), // 1: Jubo.JuLiao.IM.Wx.Proto.HistoryMsgPushNoticeMessage (EnumContentType)(0), // 2: Jubo.JuLiao.IM.Wx.Proto.EnumContentType } var file_HistoryMsgPushNotice_proto_depIdxs = []int32{ 2, // 0: Jubo.JuLiao.IM.Wx.Proto.ChatMessage.ContentType:type_name -> Jubo.JuLiao.IM.Wx.Proto.EnumContentType 0, // 1: Jubo.JuLiao.IM.Wx.Proto.HistoryMsgPushNoticeMessage.Messages:type_name -> Jubo.JuLiao.IM.Wx.Proto.ChatMessage 2, // [2:2] is the sub-list for method output_type 2, // [2:2] is the sub-list for method input_type 2, // [2:2] is the sub-list for extension type_name 2, // [2:2] is the sub-list for extension extendee 0, // [0:2] is the sub-list for field type_name } func init() { file_HistoryMsgPushNotice_proto_init() } func file_HistoryMsgPushNotice_proto_init() { if File_HistoryMsgPushNotice_proto != nil { return } file_TransportMessage_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_HistoryMsgPushNotice_proto_rawDesc, NumEnums: 0, NumMessages: 2, NumExtensions: 0, NumServices: 0, }, GoTypes: file_HistoryMsgPushNotice_proto_goTypes, DependencyIndexes: file_HistoryMsgPushNotice_proto_depIdxs, MessageInfos: file_HistoryMsgPushNotice_proto_msgTypes, }.Build() File_HistoryMsgPushNotice_proto = out.File file_HistoryMsgPushNotice_proto_rawDesc = nil file_HistoryMsgPushNotice_proto_goTypes = nil file_HistoryMsgPushNotice_proto_depIdxs = nil }