|
@@ -1,8 +1,8 @@
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
// versions:
|
|
|
-// protoc-gen-go v1.36.5
|
|
|
-// protoc v4.25.3
|
|
|
-// source: WCustomerPushNotice.proto
|
|
|
+// protoc-gen-go v1.36.6
|
|
|
+// protoc v3.19.4
|
|
|
+// source: wecom/WCustomerPushNotice.proto
|
|
|
|
|
|
package wecom
|
|
|
|
|
@@ -23,7 +23,7 @@ const (
|
|
|
|
|
|
type CustomerPushNoticeMessage struct {
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
- WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
|
|
|
+ WxId string `protobuf:"bytes,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
|
|
|
Contacts []*CustomerMessage `protobuf:"bytes,2,rep,name=Contacts,proto3" json:"Contacts,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"`
|
|
@@ -35,7 +35,7 @@ type CustomerPushNoticeMessage struct {
|
|
|
|
|
|
func (x *CustomerPushNoticeMessage) Reset() {
|
|
|
*x = CustomerPushNoticeMessage{}
|
|
|
- mi := &file_WCustomerPushNotice_proto_msgTypes[0]
|
|
|
+ mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[0]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -47,7 +47,7 @@ func (x *CustomerPushNoticeMessage) String() string {
|
|
|
func (*CustomerPushNoticeMessage) ProtoMessage() {}
|
|
|
|
|
|
func (x *CustomerPushNoticeMessage) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_WCustomerPushNotice_proto_msgTypes[0]
|
|
|
+ mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[0]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -60,14 +60,14 @@ func (x *CustomerPushNoticeMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use CustomerPushNoticeMessage.ProtoReflect.Descriptor instead.
|
|
|
func (*CustomerPushNoticeMessage) Descriptor() ([]byte, []int) {
|
|
|
- return file_WCustomerPushNotice_proto_rawDescGZIP(), []int{0}
|
|
|
+ return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{0}
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerPushNoticeMessage) GetWxId() int64 {
|
|
|
+func (x *CustomerPushNoticeMessage) GetWxId() string {
|
|
|
if x != nil {
|
|
|
return x.WxId
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *CustomerPushNoticeMessage) GetContacts() []*CustomerMessage {
|
|
@@ -107,18 +107,18 @@ func (x *CustomerPushNoticeMessage) GetTaskId() int64 {
|
|
|
|
|
|
type CustomerMessage struct {
|
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
|
- RemoteId int64 `protobuf:"varint,1,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` //唯一id (RemoteId>>48==20 App; RemoteId>>48==28 微信用户; RemoteId>>48==33,34 外部客户; RemoteId>>48==39 群机器人; RemoteId>>48==30 内部客服; RemoteId>>48==32 VIP客户;)
|
|
|
+ RemoteId string `protobuf:"bytes,1,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` //唯一id (RemoteId>>48==20 App; RemoteId>>48==28 微信用户; RemoteId>>48==33,34 外部客户; RemoteId>>48==39 群机器人; RemoteId>>48==30 内部客服; RemoteId>>48==32 VIP客户;)
|
|
|
Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
|
|
|
Alias string `protobuf:"bytes,3,opt,name=Alias,proto3" json:"Alias,omitempty"`
|
|
|
Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
|
|
|
Mobile string `protobuf:"bytes,5,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
|
|
|
UnionId string `protobuf:"bytes,6,opt,name=UnionId,proto3" json:"UnionId,omitempty"` // 微信UnionId,可能为空
|
|
|
- Gender EnumGender `protobuf:"varint,7,opt,name=Gender,proto3,enum=Im.Scrm.Ww.Proto.EnumGender" json:"Gender,omitempty"`
|
|
|
- CorpId int64 `protobuf:"varint,8,opt,name=CorpId,proto3" json:"CorpId,omitempty"`
|
|
|
+ Gender string `protobuf:"bytes,7,opt,name=Gender,proto3" json:"Gender,omitempty"`
|
|
|
+ CorpId string `protobuf:"bytes,8,opt,name=CorpId,proto3" json:"CorpId,omitempty"`
|
|
|
AddTime int32 `protobuf:"varint,9,opt,name=AddTime,proto3" json:"AddTime,omitempty"`
|
|
|
- Source int32 `protobuf:"varint,10,opt,name=Source,proto3" json:"Source,omitempty"` // 添加来源
|
|
|
- LabelIds []int64 `protobuf:"varint,11,rep,packed,name=LabelIds,proto3" json:"LabelIds,omitempty"` //设置的用户标签
|
|
|
- Suffix string `protobuf:"bytes,12,opt,name=Suffix,proto3" json:"Suffix,omitempty"` // 后缀
|
|
|
+ Source int32 `protobuf:"varint,10,opt,name=Source,proto3" json:"Source,omitempty"` // 添加来源
|
|
|
+ LabelIds []string `protobuf:"bytes,11,rep,name=LabelIds,proto3" json:"LabelIds,omitempty"` //设置的用户标签
|
|
|
+ Suffix string `protobuf:"bytes,12,opt,name=Suffix,proto3" json:"Suffix,omitempty"` // 后缀
|
|
|
OpenId string `protobuf:"bytes,13,opt,name=OpenId,proto3" json:"OpenId,omitempty"`
|
|
|
SourceUser int64 `protobuf:"varint,14,opt,name=SourceUser,proto3" json:"SourceUser,omitempty"`
|
|
|
SourceRoomId int64 `protobuf:"varint,15,opt,name=SourceRoomId,proto3" json:"SourceRoomId,omitempty"`
|
|
@@ -129,9 +129,9 @@ type CustomerMessage struct {
|
|
|
PhoneRemark []string `protobuf:"bytes,20,rep,name=PhoneRemark,proto3" json:"PhoneRemark,omitempty"`
|
|
|
Desc string `protobuf:"bytes,21,opt,name=Desc,proto3" json:"Desc,omitempty"`
|
|
|
DescUrl string `protobuf:"bytes,22,opt,name=DescUrl,proto3" json:"DescUrl,omitempty"`
|
|
|
- Attr int64 `protobuf:"varint,23,opt,name=Attr,proto3" json:"Attr,omitempty"`
|
|
|
- Attr2 int64 `protobuf:"varint,24,opt,name=Attr2,proto3" json:"Attr2,omitempty"`
|
|
|
- Attr3 int64 `protobuf:"varint,25,opt,name=Attr3,proto3" json:"Attr3,omitempty"`
|
|
|
+ Attr string `protobuf:"bytes,23,opt,name=Attr,proto3" json:"Attr,omitempty"`
|
|
|
+ Attr2 string `protobuf:"bytes,24,opt,name=Attr2,proto3" json:"Attr2,omitempty"`
|
|
|
+ Attr3 string `protobuf:"bytes,25,opt,name=Attr3,proto3" json:"Attr3,omitempty"`
|
|
|
ApplyTime int64 `protobuf:"varint,26,opt,name=ApplyTime,proto3" json:"ApplyTime,omitempty"`
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
sizeCache protoimpl.SizeCache
|
|
@@ -139,7 +139,7 @@ type CustomerMessage struct {
|
|
|
|
|
|
func (x *CustomerMessage) Reset() {
|
|
|
*x = CustomerMessage{}
|
|
|
- mi := &file_WCustomerPushNotice_proto_msgTypes[1]
|
|
|
+ mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1]
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
}
|
|
@@ -151,7 +151,7 @@ func (x *CustomerMessage) String() string {
|
|
|
func (*CustomerMessage) ProtoMessage() {}
|
|
|
|
|
|
func (x *CustomerMessage) ProtoReflect() protoreflect.Message {
|
|
|
- mi := &file_WCustomerPushNotice_proto_msgTypes[1]
|
|
|
+ mi := &file_wecom_WCustomerPushNotice_proto_msgTypes[1]
|
|
|
if x != nil {
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
if ms.LoadMessageInfo() == nil {
|
|
@@ -164,14 +164,14 @@ func (x *CustomerMessage) ProtoReflect() protoreflect.Message {
|
|
|
|
|
|
// Deprecated: Use CustomerMessage.ProtoReflect.Descriptor instead.
|
|
|
func (*CustomerMessage) Descriptor() ([]byte, []int) {
|
|
|
- return file_WCustomerPushNotice_proto_rawDescGZIP(), []int{1}
|
|
|
+ return file_wecom_WCustomerPushNotice_proto_rawDescGZIP(), []int{1}
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetRemoteId() int64 {
|
|
|
+func (x *CustomerMessage) GetRemoteId() string {
|
|
|
if x != nil {
|
|
|
return x.RemoteId
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *CustomerMessage) GetName() string {
|
|
@@ -209,18 +209,18 @@ func (x *CustomerMessage) GetUnionId() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetGender() EnumGender {
|
|
|
+func (x *CustomerMessage) GetGender() string {
|
|
|
if x != nil {
|
|
|
return x.Gender
|
|
|
}
|
|
|
- return EnumGender_UnknownGender
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetCorpId() int64 {
|
|
|
+func (x *CustomerMessage) GetCorpId() string {
|
|
|
if x != nil {
|
|
|
return x.CorpId
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *CustomerMessage) GetAddTime() int32 {
|
|
@@ -237,7 +237,7 @@ func (x *CustomerMessage) GetSource() int32 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetLabelIds() []int64 {
|
|
|
+func (x *CustomerMessage) GetLabelIds() []string {
|
|
|
if x != nil {
|
|
|
return x.LabelIds
|
|
|
}
|
|
@@ -321,25 +321,25 @@ func (x *CustomerMessage) GetDescUrl() string {
|
|
|
return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetAttr() int64 {
|
|
|
+func (x *CustomerMessage) GetAttr() string {
|
|
|
if x != nil {
|
|
|
return x.Attr
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetAttr2() int64 {
|
|
|
+func (x *CustomerMessage) GetAttr2() string {
|
|
|
if x != nil {
|
|
|
return x.Attr2
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
-func (x *CustomerMessage) GetAttr3() int64 {
|
|
|
+func (x *CustomerMessage) GetAttr3() string {
|
|
|
if x != nil {
|
|
|
return x.Attr3
|
|
|
}
|
|
|
- return 0
|
|
|
+ return ""
|
|
|
}
|
|
|
|
|
|
func (x *CustomerMessage) GetApplyTime() int64 {
|
|
@@ -349,125 +349,95 @@ func (x *CustomerMessage) GetApplyTime() int64 {
|
|
|
return 0
|
|
|
}
|
|
|
|
|
|
-var File_WCustomerPushNotice_proto protoreflect.FileDescriptor
|
|
|
-
|
|
|
-var file_WCustomerPushNotice_proto_rawDesc = string([]byte{
|
|
|
- 0x0a, 0x19, 0x57, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68, 0x4e,
|
|
|
- 0x6f, 0x74, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x49, 0x6d, 0x2e,
|
|
|
- 0x53, 0x63, 0x72, 0x6d, 0x2e, 0x57, 0x77, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x57,
|
|
|
- 0x54, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
|
|
|
- 0xc4, 0x01, 0x0a, 0x19, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x50, 0x75, 0x73, 0x68,
|
|
|
- 0x4e, 0x6f, 0x74, 0x69, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a,
|
|
|
- 0x04, 0x57, 0x78, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x57, 0x78, 0x49,
|
|
|
- 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x73, 0x18, 0x02, 0x20,
|
|
|
- 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x49, 0x6d, 0x2e, 0x53, 0x63, 0x72, 0x6d, 0x2e, 0x57, 0x77,
|
|
|
- 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x4d,
|
|
|
- 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x08, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 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, 0x22, 0xe5, 0x05, 0x0a, 0x0f, 0x43, 0x75, 0x73, 0x74, 0x6f,
|
|
|
- 0x6d, 0x65, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65,
|
|
|
- 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x52, 0x65,
|
|
|
- 0x6d, 0x6f, 0x74, 0x65, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x6c,
|
|
|
- 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x41, 0x6c, 0x69, 0x61, 0x73,
|
|
|
- 0x12, 0x16, 0x0a, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x06, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x4d, 0x6f, 0x62, 0x69,
|
|
|
- 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4d, 0x6f, 0x62, 0x69, 0x6c, 0x65,
|
|
|
- 0x12, 0x18, 0x0a, 0x07, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x07, 0x55, 0x6e, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x34, 0x0a, 0x06, 0x47, 0x65,
|
|
|
- 0x6e, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x49, 0x6d, 0x2e,
|
|
|
- 0x53, 0x63, 0x72, 0x6d, 0x2e, 0x57, 0x77, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6e,
|
|
|
- 0x75, 0x6d, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x52, 0x06, 0x47, 0x65, 0x6e, 0x64, 0x65, 0x72,
|
|
|
- 0x12, 0x16, 0x0a, 0x06, 0x43, 0x6f, 0x72, 0x70, 0x49, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03,
|
|
|
- 0x52, 0x06, 0x43, 0x6f, 0x72, 0x70, 0x49, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x64, 0x64, 0x54,
|
|
|
- 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x41, 0x64, 0x64, 0x54, 0x69,
|
|
|
- 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01,
|
|
|
- 0x28, 0x05, 0x52, 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x4c, 0x61,
|
|
|
- 0x62, 0x65, 0x6c, 0x49, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x4c, 0x61,
|
|
|
- 0x62, 0x65, 0x6c, 0x49, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78,
|
|
|
- 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x53, 0x75, 0x66, 0x66, 0x69, 0x78, 0x12, 0x16,
|
|
|
- 0x0a, 0x06, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
|
- 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
- 0x55, 0x73, 0x65, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x53, 0x6f, 0x75, 0x72,
|
|
|
- 0x63, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
|
|
- 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x53, 0x6f,
|
|
|
- 0x75, 0x72, 0x63, 0x65, 0x52, 0x6f, 0x6f, 0x6d, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x53, 0x6f,
|
|
|
- 0x75, 0x72, 0x63, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x0c, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x72, 0x69, 0x65, 0x6e, 0x64, 0x12, 0x22,
|
|
|
- 0x0a, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x11,
|
|
|
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65,
|
|
|
- 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x12, 0x20, 0x01,
|
|
|
- 0x28, 0x09, 0x52, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x24, 0x0a, 0x0d, 0x43, 0x6f,
|
|
|
- 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18, 0x13, 0x20, 0x01, 0x28,
|
|
|
- 0x09, 0x52, 0x0d, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b,
|
|
|
- 0x12, 0x20, 0x0a, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x18,
|
|
|
- 0x14, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x50, 0x68, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x6d, 0x61,
|
|
|
- 0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x65, 0x73, 0x63, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09,
|
|
|
- 0x52, 0x04, 0x44, 0x65, 0x73, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x44, 0x65, 0x73, 0x63, 0x55, 0x72,
|
|
|
- 0x6c, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x44, 0x65, 0x73, 0x63, 0x55, 0x72, 0x6c,
|
|
|
- 0x12, 0x12, 0x0a, 0x04, 0x41, 0x74, 0x74, 0x72, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04,
|
|
|
- 0x41, 0x74, 0x74, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x74, 0x74, 0x72, 0x32, 0x18, 0x18, 0x20,
|
|
|
- 0x01, 0x28, 0x03, 0x52, 0x05, 0x41, 0x74, 0x74, 0x72, 0x32, 0x12, 0x14, 0x0a, 0x05, 0x41, 0x74,
|
|
|
- 0x74, 0x72, 0x33, 0x18, 0x19, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x41, 0x74, 0x74, 0x72, 0x33,
|
|
|
- 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x1a, 0x20,
|
|
|
- 0x01, 0x28, 0x03, 0x52, 0x09, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x42, 0x13,
|
|
|
- 0x5a, 0x11, 0x2e, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x2f, 0x77, 0x65,
|
|
|
- 0x63, 0x6f, 0x6d, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
|
-})
|
|
|
+var File_wecom_WCustomerPushNotice_proto protoreflect.FileDescriptor
|
|
|
+
|
|
|
+const file_wecom_WCustomerPushNotice_proto_rawDesc = "" +
|
|
|
+ "\n" +
|
|
|
+ "\x1fwecom/WCustomerPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xc4\x01\n" +
|
|
|
+ "\x19CustomerPushNoticeMessage\x12\x12\n" +
|
|
|
+ "\x04WxId\x18\x01 \x01(\tR\x04WxId\x12=\n" +
|
|
|
+ "\bContacts\x18\x02 \x03(\v2!.Im.Scrm.Ww.Proto.CustomerMessageR\bContacts\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\x16\n" +
|
|
|
+ "\x06TaskId\x18\x06 \x01(\x03R\x06TaskId\"\xc7\x05\n" +
|
|
|
+ "\x0fCustomerMessage\x12\x1a\n" +
|
|
|
+ "\bRemoteId\x18\x01 \x01(\tR\bRemoteId\x12\x12\n" +
|
|
|
+ "\x04Name\x18\x02 \x01(\tR\x04Name\x12\x14\n" +
|
|
|
+ "\x05Alias\x18\x03 \x01(\tR\x05Alias\x12\x16\n" +
|
|
|
+ "\x06Avatar\x18\x04 \x01(\tR\x06Avatar\x12\x16\n" +
|
|
|
+ "\x06Mobile\x18\x05 \x01(\tR\x06Mobile\x12\x18\n" +
|
|
|
+ "\aUnionId\x18\x06 \x01(\tR\aUnionId\x12\x16\n" +
|
|
|
+ "\x06Gender\x18\a \x01(\tR\x06Gender\x12\x16\n" +
|
|
|
+ "\x06CorpId\x18\b \x01(\tR\x06CorpId\x12\x18\n" +
|
|
|
+ "\aAddTime\x18\t \x01(\x05R\aAddTime\x12\x16\n" +
|
|
|
+ "\x06Source\x18\n" +
|
|
|
+ " \x01(\x05R\x06Source\x12\x1a\n" +
|
|
|
+ "\bLabelIds\x18\v \x03(\tR\bLabelIds\x12\x16\n" +
|
|
|
+ "\x06Suffix\x18\f \x01(\tR\x06Suffix\x12\x16\n" +
|
|
|
+ "\x06OpenId\x18\r \x01(\tR\x06OpenId\x12\x1e\n" +
|
|
|
+ "\n" +
|
|
|
+ "SourceUser\x18\x0e \x01(\x03R\n" +
|
|
|
+ "SourceUser\x12\"\n" +
|
|
|
+ "\fSourceRoomId\x18\x0f \x01(\x03R\fSourceRoomId\x12\"\n" +
|
|
|
+ "\fSourceFriend\x18\x10 \x01(\tR\fSourceFriend\x12\"\n" +
|
|
|
+ "\fApplyContent\x18\x11 \x01(\tR\fApplyContent\x12\x16\n" +
|
|
|
+ "\x06Remark\x18\x12 \x01(\tR\x06Remark\x12$\n" +
|
|
|
+ "\rCompanyRemark\x18\x13 \x01(\tR\rCompanyRemark\x12 \n" +
|
|
|
+ "\vPhoneRemark\x18\x14 \x03(\tR\vPhoneRemark\x12\x12\n" +
|
|
|
+ "\x04Desc\x18\x15 \x01(\tR\x04Desc\x12\x18\n" +
|
|
|
+ "\aDescUrl\x18\x16 \x01(\tR\aDescUrl\x12\x12\n" +
|
|
|
+ "\x04Attr\x18\x17 \x01(\tR\x04Attr\x12\x14\n" +
|
|
|
+ "\x05Attr2\x18\x18 \x01(\tR\x05Attr2\x12\x14\n" +
|
|
|
+ "\x05Attr3\x18\x19 \x01(\tR\x05Attr3\x12\x1c\n" +
|
|
|
+ "\tApplyTime\x18\x1a \x01(\x03R\tApplyTimeB\x13Z\x11./workphone/wecomb\x06proto3"
|
|
|
|
|
|
var (
|
|
|
- file_WCustomerPushNotice_proto_rawDescOnce sync.Once
|
|
|
- file_WCustomerPushNotice_proto_rawDescData []byte
|
|
|
+ file_wecom_WCustomerPushNotice_proto_rawDescOnce sync.Once
|
|
|
+ file_wecom_WCustomerPushNotice_proto_rawDescData []byte
|
|
|
)
|
|
|
|
|
|
-func file_WCustomerPushNotice_proto_rawDescGZIP() []byte {
|
|
|
- file_WCustomerPushNotice_proto_rawDescOnce.Do(func() {
|
|
|
- file_WCustomerPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_WCustomerPushNotice_proto_rawDesc), len(file_WCustomerPushNotice_proto_rawDesc)))
|
|
|
+func file_wecom_WCustomerPushNotice_proto_rawDescGZIP() []byte {
|
|
|
+ file_wecom_WCustomerPushNotice_proto_rawDescOnce.Do(func() {
|
|
|
+ file_wecom_WCustomerPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc)))
|
|
|
})
|
|
|
- return file_WCustomerPushNotice_proto_rawDescData
|
|
|
+ return file_wecom_WCustomerPushNotice_proto_rawDescData
|
|
|
}
|
|
|
|
|
|
-var file_WCustomerPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
-var file_WCustomerPushNotice_proto_goTypes = []any{
|
|
|
+var file_wecom_WCustomerPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
|
+var file_wecom_WCustomerPushNotice_proto_goTypes = []any{
|
|
|
(*CustomerPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage
|
|
|
(*CustomerMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerMessage
|
|
|
- (EnumGender)(0), // 2: Im.Scrm.Ww.Proto.EnumGender
|
|
|
}
|
|
|
-var file_WCustomerPushNotice_proto_depIdxs = []int32{
|
|
|
+var file_wecom_WCustomerPushNotice_proto_depIdxs = []int32{
|
|
|
1, // 0: Im.Scrm.Ww.Proto.CustomerPushNoticeMessage.Contacts:type_name -> Im.Scrm.Ww.Proto.CustomerMessage
|
|
|
- 2, // 1: Im.Scrm.Ww.Proto.CustomerMessage.Gender:type_name -> Im.Scrm.Ww.Proto.EnumGender
|
|
|
- 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
|
|
|
+ 1, // [1:1] is the sub-list for method output_type
|
|
|
+ 1, // [1:1] is the sub-list for method input_type
|
|
|
+ 1, // [1:1] is the sub-list for extension type_name
|
|
|
+ 1, // [1:1] is the sub-list for extension extendee
|
|
|
+ 0, // [0:1] is the sub-list for field type_name
|
|
|
}
|
|
|
|
|
|
-func init() { file_WCustomerPushNotice_proto_init() }
|
|
|
-func file_WCustomerPushNotice_proto_init() {
|
|
|
- if File_WCustomerPushNotice_proto != nil {
|
|
|
+func init() { file_wecom_WCustomerPushNotice_proto_init() }
|
|
|
+func file_wecom_WCustomerPushNotice_proto_init() {
|
|
|
+ if File_wecom_WCustomerPushNotice_proto != nil {
|
|
|
return
|
|
|
}
|
|
|
- file_WTransport_proto_init()
|
|
|
type x struct{}
|
|
|
out := protoimpl.TypeBuilder{
|
|
|
File: protoimpl.DescBuilder{
|
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
|
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_WCustomerPushNotice_proto_rawDesc), len(file_WCustomerPushNotice_proto_rawDesc)),
|
|
|
+ RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerPushNotice_proto_rawDesc), len(file_wecom_WCustomerPushNotice_proto_rawDesc)),
|
|
|
NumEnums: 0,
|
|
|
NumMessages: 2,
|
|
|
NumExtensions: 0,
|
|
|
NumServices: 0,
|
|
|
},
|
|
|
- GoTypes: file_WCustomerPushNotice_proto_goTypes,
|
|
|
- DependencyIndexes: file_WCustomerPushNotice_proto_depIdxs,
|
|
|
- MessageInfos: file_WCustomerPushNotice_proto_msgTypes,
|
|
|
+ GoTypes: file_wecom_WCustomerPushNotice_proto_goTypes,
|
|
|
+ DependencyIndexes: file_wecom_WCustomerPushNotice_proto_depIdxs,
|
|
|
+ MessageInfos: file_wecom_WCustomerPushNotice_proto_msgTypes,
|
|
|
}.Build()
|
|
|
- File_WCustomerPushNotice_proto = out.File
|
|
|
- file_WCustomerPushNotice_proto_goTypes = nil
|
|
|
- file_WCustomerPushNotice_proto_depIdxs = nil
|
|
|
+ File_wecom_WCustomerPushNotice_proto = out.File
|
|
|
+ file_wecom_WCustomerPushNotice_proto_goTypes = nil
|
|
|
+ file_wecom_WCustomerPushNotice_proto_depIdxs = nil
|
|
|
}
|