// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v3.19.4 // source: wecom/WConversationPushNotice.proto package wecom import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" unsafe "unsafe" ) 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 ConversationPushNoticeMessage struct { state protoimpl.MessageState `protogen:"open.v1"` WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号 Convers []*ConversationMessage `protobuf:"bytes,2,rep,name=Convers,proto3" json:"Convers,omitempty"` // 好友信息模型 多个 Size int32 `protobuf:"varint,3,opt,name=Size,proto3" json:"Size,omitempty"` Count int32 `protobuf:"varint,4,opt,name=Count,proto3" json:"Count,omitempty"` Page int32 `protobuf:"varint,5,opt,name=Page,proto3" json:"Page,omitempty"` IsEnd bool `protobuf:"varint,6,opt,name=IsEnd,proto3" json:"IsEnd,omitempty"` //本次推送是否结束 NextOffset int32 `protobuf:"varint,7,opt,name=NextOffset,proto3" json:"NextOffset,omitempty"` // Total int32 `protobuf:"varint,8,opt,name=Total,proto3" json:"Total,omitempty"` // TaskId int64 `protobuf:"varint,9,opt,name=TaskId,proto3" json:"TaskId,omitempty"` unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConversationPushNoticeMessage) Reset() { *x = ConversationPushNoticeMessage{} mi := &file_wecom_WConversationPushNotice_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConversationPushNoticeMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConversationPushNoticeMessage) ProtoMessage() {} func (x *ConversationPushNoticeMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WConversationPushNotice_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 ConversationPushNoticeMessage.ProtoReflect.Descriptor instead. func (*ConversationPushNoticeMessage) Descriptor() ([]byte, []int) { return file_wecom_WConversationPushNotice_proto_rawDescGZIP(), []int{0} } func (x *ConversationPushNoticeMessage) GetWxId() int64 { if x != nil { return x.WxId } return 0 } func (x *ConversationPushNoticeMessage) GetConvers() []*ConversationMessage { if x != nil { return x.Convers } return nil } func (x *ConversationPushNoticeMessage) GetSize() int32 { if x != nil { return x.Size } return 0 } func (x *ConversationPushNoticeMessage) GetCount() int32 { if x != nil { return x.Count } return 0 } func (x *ConversationPushNoticeMessage) GetPage() int32 { if x != nil { return x.Page } return 0 } func (x *ConversationPushNoticeMessage) GetIsEnd() bool { if x != nil { return x.IsEnd } return false } func (x *ConversationPushNoticeMessage) GetNextOffset() int32 { if x != nil { return x.NextOffset } return 0 } func (x *ConversationPushNoticeMessage) GetTotal() int32 { if x != nil { return x.Total } return 0 } func (x *ConversationPushNoticeMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } type ConversationMessage struct { state protoimpl.MessageState `protogen:"open.v1"` Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // RemoteId int64 `protobuf:"varint,2,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` // 单聊=联系人RemoteId, 群聊=公司id,部门id或其他 Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"` Type int32 `protobuf:"varint,5,opt,name=Type,proto3" json:"Type,omitempty"` // 0 单聊 1 群聊 Creator int64 `protobuf:"varint,6,opt,name=Creator,proto3" json:"Creator,omitempty"` //创建者id CreateTime int64 `protobuf:"varint,7,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` //创建时间 UpdateTime int64 `protobuf:"varint,8,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` // 最后更新时间 Notified bool `protobuf:"varint,9,opt,name=Notified,proto3" json:"Notified,omitempty"` // 是否新消息提示 Flag int32 `protobuf:"varint,10,opt,name=Flag,proto3" json:"Flag,omitempty"` // &2 全员群 &32 部门群 UnreadCnt int32 `protobuf:"varint,11,opt,name=UnreadCnt,proto3" json:"UnreadCnt,omitempty"` //未读消息数 Notice string `protobuf:"bytes,12,opt,name=Notice,proto3" json:"Notice,omitempty"` // 群公告 Digest string `protobuf:"bytes,13,opt,name=Digest,proto3" json:"Digest,omitempty"` // 最新消息概要 Members []*ConvMemberMessage `protobuf:"bytes,14,rep,name=Members,proto3" json:"Members,omitempty"` // 群成员 Admins []int64 `protobuf:"varint,15,rep,packed,name=Admins,proto3" json:"Admins,omitempty"` // 群管理员 HasExternMember bool `protobuf:"varint,16,opt,name=HasExternMember,proto3" json:"HasExternMember,omitempty"` // 是否有外部联系人(外部群) AvatarList []string `protobuf:"bytes,17,rep,name=AvatarList,proto3" json:"AvatarList,omitempty"` // 群聊头像列表,9宫格 IsSaved bool `protobuf:"varint,18,opt,name=isSaved,proto3" json:"isSaved,omitempty"` // 是否保存的群聊 IsMarked bool `protobuf:"varint,19,opt,name=isMarked,proto3" json:"isMarked,omitempty"` // 是否标注 IsTop bool `protobuf:"varint,20,opt,name=isTop,proto3" json:"isTop,omitempty"` // 是否置顶 FwId int64 `protobuf:"varint,21,opt,name=FwId,proto3" json:"FwId,omitempty"` // 在线客服服务id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConversationMessage) Reset() { *x = ConversationMessage{} mi := &file_wecom_WConversationPushNotice_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConversationMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConversationMessage) ProtoMessage() {} func (x *ConversationMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WConversationPushNotice_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 ConversationMessage.ProtoReflect.Descriptor instead. func (*ConversationMessage) Descriptor() ([]byte, []int) { return file_wecom_WConversationPushNotice_proto_rawDescGZIP(), []int{1} } func (x *ConversationMessage) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *ConversationMessage) GetRemoteId() int64 { if x != nil { return x.RemoteId } return 0 } func (x *ConversationMessage) GetName() string { if x != nil { return x.Name } return "" } func (x *ConversationMessage) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *ConversationMessage) GetType() int32 { if x != nil { return x.Type } return 0 } func (x *ConversationMessage) GetCreator() int64 { if x != nil { return x.Creator } return 0 } func (x *ConversationMessage) GetCreateTime() int64 { if x != nil { return x.CreateTime } return 0 } func (x *ConversationMessage) GetUpdateTime() int64 { if x != nil { return x.UpdateTime } return 0 } func (x *ConversationMessage) GetNotified() bool { if x != nil { return x.Notified } return false } func (x *ConversationMessage) GetFlag() int32 { if x != nil { return x.Flag } return 0 } func (x *ConversationMessage) GetUnreadCnt() int32 { if x != nil { return x.UnreadCnt } return 0 } func (x *ConversationMessage) GetNotice() string { if x != nil { return x.Notice } return "" } func (x *ConversationMessage) GetDigest() string { if x != nil { return x.Digest } return "" } func (x *ConversationMessage) GetMembers() []*ConvMemberMessage { if x != nil { return x.Members } return nil } func (x *ConversationMessage) GetAdmins() []int64 { if x != nil { return x.Admins } return nil } func (x *ConversationMessage) GetHasExternMember() bool { if x != nil { return x.HasExternMember } return false } func (x *ConversationMessage) GetAvatarList() []string { if x != nil { return x.AvatarList } return nil } func (x *ConversationMessage) GetIsSaved() bool { if x != nil { return x.IsSaved } return false } func (x *ConversationMessage) GetIsMarked() bool { if x != nil { return x.IsMarked } return false } func (x *ConversationMessage) GetIsTop() bool { if x != nil { return x.IsTop } return false } func (x *ConversationMessage) GetFwId() int64 { if x != nil { return x.FwId } return 0 } type ConvMemberMessage struct { state protoimpl.MessageState `protogen:"open.v1"` RemoteId int64 `protobuf:"varint,1,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` // 群成员id Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` // JoinTime int64 `protobuf:"varint,3,opt,name=JoinTime,proto3" json:"JoinTime,omitempty"` JoinScene int32 `protobuf:"varint,4,opt,name=JoinScene,proto3" json:"JoinScene,omitempty"` // 加入场景,数值待确定 Avatar string `protobuf:"bytes,5,opt,name=Avatar,proto3" json:"Avatar,omitempty"` // 头像 CorpId int64 `protobuf:"varint,6,opt,name=CorpId,proto3" json:"CorpId,omitempty"` // 公司id OpRemoteId int64 `protobuf:"varint,7,opt,name=OpRemoteId,proto3" json:"OpRemoteId,omitempty"` // 邀请人id unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *ConvMemberMessage) Reset() { *x = ConvMemberMessage{} mi := &file_wecom_WConversationPushNotice_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *ConvMemberMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*ConvMemberMessage) ProtoMessage() {} func (x *ConvMemberMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WConversationPushNotice_proto_msgTypes[2] 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 ConvMemberMessage.ProtoReflect.Descriptor instead. func (*ConvMemberMessage) Descriptor() ([]byte, []int) { return file_wecom_WConversationPushNotice_proto_rawDescGZIP(), []int{2} } func (x *ConvMemberMessage) GetRemoteId() int64 { if x != nil { return x.RemoteId } return 0 } func (x *ConvMemberMessage) GetName() string { if x != nil { return x.Name } return "" } func (x *ConvMemberMessage) GetJoinTime() int64 { if x != nil { return x.JoinTime } return 0 } func (x *ConvMemberMessage) GetJoinScene() int32 { if x != nil { return x.JoinScene } return 0 } func (x *ConvMemberMessage) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *ConvMemberMessage) GetCorpId() int64 { if x != nil { return x.CorpId } return 0 } func (x *ConvMemberMessage) GetOpRemoteId() int64 { if x != nil { return x.OpRemoteId } return 0 } var File_wecom_WConversationPushNotice_proto protoreflect.FileDescriptor const file_wecom_WConversationPushNotice_proto_rawDesc = "" + "\n" + "#wecom/WConversationPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\x96\x02\n" + "\x1dConversationPushNoticeMessage\x12\x12\n" + "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12?\n" + "\aConvers\x18\x02 \x03(\v2%.Im.Scrm.Ww.Proto.ConversationMessageR\aConvers\x12\x12\n" + "\x04Size\x18\x03 \x01(\x05R\x04Size\x12\x14\n" + "\x05Count\x18\x04 \x01(\x05R\x05Count\x12\x12\n" + "\x04Page\x18\x05 \x01(\x05R\x04Page\x12\x14\n" + "\x05IsEnd\x18\x06 \x01(\bR\x05IsEnd\x12\x1e\n" + "\n" + "NextOffset\x18\a \x01(\x05R\n" + "NextOffset\x12\x14\n" + "\x05Total\x18\b \x01(\x05R\x05Total\x12\x16\n" + "\x06TaskId\x18\t \x01(\x03R\x06TaskId\"\xda\x04\n" + "\x13ConversationMessage\x12\x0e\n" + "\x02Id\x18\x01 \x01(\x03R\x02Id\x12\x1a\n" + "\bRemoteId\x18\x02 \x01(\x03R\bRemoteId\x12\x12\n" + "\x04Name\x18\x03 \x01(\tR\x04Name\x12\x16\n" + "\x06Avatar\x18\x04 \x01(\tR\x06Avatar\x12\x12\n" + "\x04Type\x18\x05 \x01(\x05R\x04Type\x12\x18\n" + "\aCreator\x18\x06 \x01(\x03R\aCreator\x12\x1e\n" + "\n" + "CreateTime\x18\a \x01(\x03R\n" + "CreateTime\x12\x1e\n" + "\n" + "UpdateTime\x18\b \x01(\x03R\n" + "UpdateTime\x12\x1a\n" + "\bNotified\x18\t \x01(\bR\bNotified\x12\x12\n" + "\x04Flag\x18\n" + " \x01(\x05R\x04Flag\x12\x1c\n" + "\tUnreadCnt\x18\v \x01(\x05R\tUnreadCnt\x12\x16\n" + "\x06Notice\x18\f \x01(\tR\x06Notice\x12\x16\n" + "\x06Digest\x18\r \x01(\tR\x06Digest\x12=\n" + "\aMembers\x18\x0e \x03(\v2#.Im.Scrm.Ww.Proto.ConvMemberMessageR\aMembers\x12\x16\n" + "\x06Admins\x18\x0f \x03(\x03R\x06Admins\x12(\n" + "\x0fHasExternMember\x18\x10 \x01(\bR\x0fHasExternMember\x12\x1e\n" + "\n" + "AvatarList\x18\x11 \x03(\tR\n" + "AvatarList\x12\x18\n" + "\aisSaved\x18\x12 \x01(\bR\aisSaved\x12\x1a\n" + "\bisMarked\x18\x13 \x01(\bR\bisMarked\x12\x14\n" + "\x05isTop\x18\x14 \x01(\bR\x05isTop\x12\x12\n" + "\x04FwId\x18\x15 \x01(\x03R\x04FwId\"\xcd\x01\n" + "\x11ConvMemberMessage\x12\x1a\n" + "\bRemoteId\x18\x01 \x01(\x03R\bRemoteId\x12\x12\n" + "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x1a\n" + "\bJoinTime\x18\x03 \x01(\x03R\bJoinTime\x12\x1c\n" + "\tJoinScene\x18\x04 \x01(\x05R\tJoinScene\x12\x16\n" + "\x06Avatar\x18\x05 \x01(\tR\x06Avatar\x12\x16\n" + "\x06CorpId\x18\x06 \x01(\x03R\x06CorpId\x12\x1e\n" + "\n" + "OpRemoteId\x18\a \x01(\x03R\n" + "OpRemoteIdB\x13Z\x11./workphone/wecomb\x06proto3" var ( file_wecom_WConversationPushNotice_proto_rawDescOnce sync.Once file_wecom_WConversationPushNotice_proto_rawDescData []byte ) func file_wecom_WConversationPushNotice_proto_rawDescGZIP() []byte { file_wecom_WConversationPushNotice_proto_rawDescOnce.Do(func() { file_wecom_WConversationPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WConversationPushNotice_proto_rawDesc), len(file_wecom_WConversationPushNotice_proto_rawDesc))) }) return file_wecom_WConversationPushNotice_proto_rawDescData } var file_wecom_WConversationPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_wecom_WConversationPushNotice_proto_goTypes = []any{ (*ConversationPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.ConversationPushNoticeMessage (*ConversationMessage)(nil), // 1: Im.Scrm.Ww.Proto.ConversationMessage (*ConvMemberMessage)(nil), // 2: Im.Scrm.Ww.Proto.ConvMemberMessage } var file_wecom_WConversationPushNotice_proto_depIdxs = []int32{ 1, // 0: Im.Scrm.Ww.Proto.ConversationPushNoticeMessage.Convers:type_name -> Im.Scrm.Ww.Proto.ConversationMessage 2, // 1: Im.Scrm.Ww.Proto.ConversationMessage.Members:type_name -> Im.Scrm.Ww.Proto.ConvMemberMessage 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_wecom_WConversationPushNotice_proto_init() } func file_wecom_WConversationPushNotice_proto_init() { if File_wecom_WConversationPushNotice_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WConversationPushNotice_proto_rawDesc), len(file_wecom_WConversationPushNotice_proto_rawDesc)), NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 0, }, GoTypes: file_wecom_WConversationPushNotice_proto_goTypes, DependencyIndexes: file_wecom_WConversationPushNotice_proto_depIdxs, MessageInfos: file_wecom_WConversationPushNotice_proto_msgTypes, }.Build() File_wecom_WConversationPushNotice_proto = out.File file_wecom_WConversationPushNotice_proto_goTypes = nil file_wecom_WConversationPushNotice_proto_depIdxs = nil }