123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WCustomerGroupPushNotice.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 CustomerGroupPushNoticeMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号
- Success bool `protobuf:"varint,2,opt,name=Success,proto3" json:"Success,omitempty"` // 是否成功
- Groups []*CustomerGroupMessage `protobuf:"bytes,3,rep,name=Groups,proto3" json:"Groups,omitempty"` // 客户群列表
- TaskId int64 `protobuf:"varint,4,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *CustomerGroupPushNoticeMessage) Reset() {
- *x = CustomerGroupPushNoticeMessage{}
- mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *CustomerGroupPushNoticeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CustomerGroupPushNoticeMessage) ProtoMessage() {}
- func (x *CustomerGroupPushNoticeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WCustomerGroupPushNotice_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 CustomerGroupPushNoticeMessage.ProtoReflect.Descriptor instead.
- func (*CustomerGroupPushNoticeMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP(), []int{0}
- }
- func (x *CustomerGroupPushNoticeMessage) GetWxId() int64 {
- if x != nil {
- return x.WxId
- }
- return 0
- }
- func (x *CustomerGroupPushNoticeMessage) GetSuccess() bool {
- if x != nil {
- return x.Success
- }
- return false
- }
- func (x *CustomerGroupPushNoticeMessage) GetGroups() []*CustomerGroupMessage {
- if x != nil {
- return x.Groups
- }
- return nil
- }
- func (x *CustomerGroupPushNoticeMessage) GetTaskId() int64 {
- if x != nil {
- return x.TaskId
- }
- return 0
- }
- type CustomerGroupMessage struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- Id int64 `protobuf:"varint,1,opt,name=Id,proto3" json:"Id,omitempty"` // 会话id
- RemoteId int64 `protobuf:"varint,2,opt,name=RemoteId,proto3" json:"RemoteId,omitempty"` // 会话RemoteId
- Name string `protobuf:"bytes,3,opt,name=Name,proto3" json:"Name,omitempty"` // 群名
- Avatar string `protobuf:"bytes,4,opt,name=Avatar,proto3" json:"Avatar,omitempty"`
- Owner int64 `protobuf:"varint,6,opt,name=Owner,proto3" json:"Owner,omitempty"` //群主Id
- CreateTime int32 `protobuf:"varint,7,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` //创建时间
- UpdateTime int32 `protobuf:"varint,8,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` // 最后更新时间
- Flag int32 `protobuf:"varint,10,opt,name=Flag,proto3" json:"Flag,omitempty"` //
- MemberCnt int32 `protobuf:"varint,11,opt,name=MemberCnt,proto3" json:"MemberCnt,omitempty"` //群成员数
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *CustomerGroupMessage) Reset() {
- *x = CustomerGroupMessage{}
- mi := &file_wecom_WCustomerGroupPushNotice_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *CustomerGroupMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*CustomerGroupMessage) ProtoMessage() {}
- func (x *CustomerGroupMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WCustomerGroupPushNotice_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 CustomerGroupMessage.ProtoReflect.Descriptor instead.
- func (*CustomerGroupMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP(), []int{1}
- }
- func (x *CustomerGroupMessage) GetId() int64 {
- if x != nil {
- return x.Id
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetRemoteId() int64 {
- if x != nil {
- return x.RemoteId
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetName() string {
- if x != nil {
- return x.Name
- }
- return ""
- }
- func (x *CustomerGroupMessage) GetAvatar() string {
- if x != nil {
- return x.Avatar
- }
- return ""
- }
- func (x *CustomerGroupMessage) GetOwner() int64 {
- if x != nil {
- return x.Owner
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetCreateTime() int32 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetUpdateTime() int32 {
- if x != nil {
- return x.UpdateTime
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetFlag() int32 {
- if x != nil {
- return x.Flag
- }
- return 0
- }
- func (x *CustomerGroupMessage) GetMemberCnt() int32 {
- if x != nil {
- return x.MemberCnt
- }
- return 0
- }
- var File_wecom_WCustomerGroupPushNotice_proto protoreflect.FileDescriptor
- const file_wecom_WCustomerGroupPushNotice_proto_rawDesc = "" +
- "\n" +
- "$wecom/WCustomerGroupPushNotice.proto\x12\x10Im.Scrm.Ww.Proto\"\xa6\x01\n" +
- "\x1eCustomerGroupPushNoticeMessage\x12\x12\n" +
- "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x18\n" +
- "\aSuccess\x18\x02 \x01(\bR\aSuccess\x12>\n" +
- "\x06Groups\x18\x03 \x03(\v2&.Im.Scrm.Ww.Proto.CustomerGroupMessageR\x06Groups\x12\x16\n" +
- "\x06TaskId\x18\x04 \x01(\x03R\x06TaskId\"\xf6\x01\n" +
- "\x14CustomerGroupMessage\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\x14\n" +
- "\x05Owner\x18\x06 \x01(\x03R\x05Owner\x12\x1e\n" +
- "\n" +
- "CreateTime\x18\a \x01(\x05R\n" +
- "CreateTime\x12\x1e\n" +
- "\n" +
- "UpdateTime\x18\b \x01(\x05R\n" +
- "UpdateTime\x12\x12\n" +
- "\x04Flag\x18\n" +
- " \x01(\x05R\x04Flag\x12\x1c\n" +
- "\tMemberCnt\x18\v \x01(\x05R\tMemberCntB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WCustomerGroupPushNotice_proto_rawDescOnce sync.Once
- file_wecom_WCustomerGroupPushNotice_proto_rawDescData []byte
- )
- func file_wecom_WCustomerGroupPushNotice_proto_rawDescGZIP() []byte {
- file_wecom_WCustomerGroupPushNotice_proto_rawDescOnce.Do(func() {
- file_wecom_WCustomerGroupPushNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WCustomerGroupPushNotice_proto_rawDesc), len(file_wecom_WCustomerGroupPushNotice_proto_rawDesc)))
- })
- return file_wecom_WCustomerGroupPushNotice_proto_rawDescData
- }
- var file_wecom_WCustomerGroupPushNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
- var file_wecom_WCustomerGroupPushNotice_proto_goTypes = []any{
- (*CustomerGroupPushNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.CustomerGroupPushNoticeMessage
- (*CustomerGroupMessage)(nil), // 1: Im.Scrm.Ww.Proto.CustomerGroupMessage
- }
- var file_wecom_WCustomerGroupPushNotice_proto_depIdxs = []int32{
- 1, // 0: Im.Scrm.Ww.Proto.CustomerGroupPushNoticeMessage.Groups:type_name -> Im.Scrm.Ww.Proto.CustomerGroupMessage
- 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_wecom_WCustomerGroupPushNotice_proto_init() }
- func file_wecom_WCustomerGroupPushNotice_proto_init() {
- if File_wecom_WCustomerGroupPushNotice_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WCustomerGroupPushNotice_proto_rawDesc), len(file_wecom_WCustomerGroupPushNotice_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 2,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WCustomerGroupPushNotice_proto_goTypes,
- DependencyIndexes: file_wecom_WCustomerGroupPushNotice_proto_depIdxs,
- MessageInfos: file_wecom_WCustomerGroupPushNotice_proto_msgTypes,
- }.Build()
- File_wecom_WCustomerGroupPushNotice_proto = out.File
- file_wecom_WCustomerGroupPushNotice_proto_goTypes = nil
- file_wecom_WCustomerGroupPushNotice_proto_depIdxs = nil
- }
|