// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.36.6 // protoc v3.19.4 // source: wecom/WTalkToFriendTask.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 TalkToFriendTaskMessage struct { state protoimpl.MessageState `protogen:"open.v1"` WxId int64 `protobuf:"varint,1,opt,name=WxId,proto3" json:"WxId,omitempty"` // 设备企业WX号 ConvId int64 `protobuf:"varint,2,opt,name=ConvId,proto3" json:"ConvId,omitempty"` //会话 RemoteId LocalId int64 `protobuf:"varint,3,opt,name=LocalId,proto3" json:"LocalId,omitempty"` //会话id ContentType EnumContentType `protobuf:"varint,4,opt,name=ContentType,proto3,enum=Im.Scrm.Ww.Proto.EnumContentType" json:"ContentType,omitempty"` // 消息类型 Text Picture Voice Video Link File NameCard WeApp Location Quote Content []byte `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` // 消息内容 文本,url(图片 视频 语音 文件),名片wxid,json(语音 文件 链接 小程序 位置) RefId int64 `protobuf:"varint,6,opt,name=RefId,proto3" json:"RefId,omitempty"` // 引用消息id AtSomeOne []int64 `protobuf:"varint,7,rep,packed,name=AtSomeOne,proto3" json:"AtSomeOne,omitempty"` // 群聊@某人 0表示@所有人 TaskId int64 `protobuf:"varint,9,opt,name=TaskId,proto3" json:"TaskId,omitempty"` // 发送给手机端的时候需要赋值, unknownFields protoimpl.UnknownFields sizeCache protoimpl.SizeCache } func (x *TalkToFriendTaskMessage) Reset() { *x = TalkToFriendTaskMessage{} mi := &file_wecom_WTalkToFriendTask_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } func (x *TalkToFriendTaskMessage) String() string { return protoimpl.X.MessageStringOf(x) } func (*TalkToFriendTaskMessage) ProtoMessage() {} func (x *TalkToFriendTaskMessage) ProtoReflect() protoreflect.Message { mi := &file_wecom_WTalkToFriendTask_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 TalkToFriendTaskMessage.ProtoReflect.Descriptor instead. func (*TalkToFriendTaskMessage) Descriptor() ([]byte, []int) { return file_wecom_WTalkToFriendTask_proto_rawDescGZIP(), []int{0} } func (x *TalkToFriendTaskMessage) GetWxId() int64 { if x != nil { return x.WxId } return 0 } func (x *TalkToFriendTaskMessage) GetConvId() int64 { if x != nil { return x.ConvId } return 0 } func (x *TalkToFriendTaskMessage) GetLocalId() int64 { if x != nil { return x.LocalId } return 0 } func (x *TalkToFriendTaskMessage) GetContentType() EnumContentType { if x != nil { return x.ContentType } return EnumContentType_UnknownContent } func (x *TalkToFriendTaskMessage) GetContent() []byte { if x != nil { return x.Content } return nil } func (x *TalkToFriendTaskMessage) GetRefId() int64 { if x != nil { return x.RefId } return 0 } func (x *TalkToFriendTaskMessage) GetAtSomeOne() []int64 { if x != nil { return x.AtSomeOne } return nil } func (x *TalkToFriendTaskMessage) GetTaskId() int64 { if x != nil { return x.TaskId } return 0 } var File_wecom_WTalkToFriendTask_proto protoreflect.FileDescriptor const file_wecom_WTalkToFriendTask_proto_rawDesc = "" + "\n" + "\x1dwecom/WTalkToFriendTask.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\x8a\x02\n" + "\x17TalkToFriendTaskMessage\x12\x12\n" + "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x16\n" + "\x06ConvId\x18\x02 \x01(\x03R\x06ConvId\x12\x18\n" + "\aLocalId\x18\x03 \x01(\x03R\aLocalId\x12C\n" + "\vContentType\x18\x04 \x01(\x0e2!.Im.Scrm.Ww.Proto.EnumContentTypeR\vContentType\x12\x18\n" + "\aContent\x18\x05 \x01(\fR\aContent\x12\x14\n" + "\x05RefId\x18\x06 \x01(\x03R\x05RefId\x12\x1c\n" + "\tAtSomeOne\x18\a \x03(\x03R\tAtSomeOne\x12\x16\n" + "\x06TaskId\x18\t \x01(\x03R\x06TaskIdB\x13Z\x11./workphone/wecomb\x06proto3" var ( file_wecom_WTalkToFriendTask_proto_rawDescOnce sync.Once file_wecom_WTalkToFriendTask_proto_rawDescData []byte ) func file_wecom_WTalkToFriendTask_proto_rawDescGZIP() []byte { file_wecom_WTalkToFriendTask_proto_rawDescOnce.Do(func() { file_wecom_WTalkToFriendTask_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WTalkToFriendTask_proto_rawDesc), len(file_wecom_WTalkToFriendTask_proto_rawDesc))) }) return file_wecom_WTalkToFriendTask_proto_rawDescData } var file_wecom_WTalkToFriendTask_proto_msgTypes = make([]protoimpl.MessageInfo, 1) var file_wecom_WTalkToFriendTask_proto_goTypes = []any{ (*TalkToFriendTaskMessage)(nil), // 0: Im.Scrm.Ww.Proto.TalkToFriendTaskMessage (EnumContentType)(0), // 1: Im.Scrm.Ww.Proto.EnumContentType } var file_wecom_WTalkToFriendTask_proto_depIdxs = []int32{ 1, // 0: Im.Scrm.Ww.Proto.TalkToFriendTaskMessage.ContentType:type_name -> Im.Scrm.Ww.Proto.EnumContentType 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_WTalkToFriendTask_proto_init() } func file_wecom_WTalkToFriendTask_proto_init() { if File_wecom_WTalkToFriendTask_proto != nil { return } file_wecom_WTransport_proto_init() type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: unsafe.Slice(unsafe.StringData(file_wecom_WTalkToFriendTask_proto_rawDesc), len(file_wecom_WTalkToFriendTask_proto_rawDesc)), NumEnums: 0, NumMessages: 1, NumExtensions: 0, NumServices: 0, }, GoTypes: file_wecom_WTalkToFriendTask_proto_goTypes, DependencyIndexes: file_wecom_WTalkToFriendTask_proto_depIdxs, MessageInfos: file_wecom_WTalkToFriendTask_proto_msgTypes, }.Build() File_wecom_WTalkToFriendTask_proto = out.File file_wecom_WTalkToFriendTask_proto_goTypes = nil file_wecom_WTalkToFriendTask_proto_depIdxs = nil }