123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.6
- // protoc v3.19.4
- // source: wecom/WFriendTalkNotice.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 FriendTalkNoticeMessage 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
- SenderId int64 `protobuf:"varint,3,opt,name=SenderId,proto3" json:"SenderId,omitempty"` // 消息发送者Id
- ContentType EnumContentType `protobuf:"varint,4,opt,name=ContentType,proto3,enum=Im.Scrm.Ww.Proto.EnumContentType" json:"ContentType,omitempty"` // 发送的消息内容类型
- Content []byte `protobuf:"bytes,5,opt,name=Content,proto3" json:"Content,omitempty"` // 内容 二进制流
- MsgId int64 `protobuf:"varint,6,opt,name=MsgId,proto3" json:"MsgId,omitempty"` //服务端的主键id
- MsgRemoteId int64 `protobuf:"varint,7,opt,name=MsgRemoteId,proto3" json:"MsgRemoteId,omitempty"` // 消息唯一id
- CreateTime int64 `protobuf:"varint,8,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` // 消息时间
- SenderName string `protobuf:"bytes,9,opt,name=SenderName,proto3" json:"SenderName,omitempty"` // 消息发送者名称
- RefId int64 `protobuf:"varint,10,opt,name=RefId,proto3" json:"RefId,omitempty"` // 引用消息的id
- Flag int32 `protobuf:"varint,11,opt,name=Flag,proto3" json:"Flag,omitempty"`
- IsRevoke bool `protobuf:"varint,12,opt,name=IsRevoke,proto3" json:"IsRevoke,omitempty"`
- AtMe bool `protobuf:"varint,13,opt,name=AtMe,proto3" json:"AtMe,omitempty"`
- TaskId int64 `protobuf:"varint,14,opt,name=TaskId,proto3" json:"TaskId,omitempty"`
- ConvType int32 `protobuf:"varint,15,opt,name=ConvType,proto3" json:"ConvType,omitempty"`
- ConvLocalId int64 `protobuf:"varint,16,opt,name=ConvLocalId,proto3" json:"ConvLocalId,omitempty"` // 会话的LocalId
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *FriendTalkNoticeMessage) Reset() {
- *x = FriendTalkNoticeMessage{}
- mi := &file_wecom_WFriendTalkNotice_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *FriendTalkNoticeMessage) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FriendTalkNoticeMessage) ProtoMessage() {}
- func (x *FriendTalkNoticeMessage) ProtoReflect() protoreflect.Message {
- mi := &file_wecom_WFriendTalkNotice_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 FriendTalkNoticeMessage.ProtoReflect.Descriptor instead.
- func (*FriendTalkNoticeMessage) Descriptor() ([]byte, []int) {
- return file_wecom_WFriendTalkNotice_proto_rawDescGZIP(), []int{0}
- }
- func (x *FriendTalkNoticeMessage) GetWxId() int64 {
- if x != nil {
- return x.WxId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetConvId() int64 {
- if x != nil {
- return x.ConvId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetSenderId() int64 {
- if x != nil {
- return x.SenderId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetContentType() EnumContentType {
- if x != nil {
- return x.ContentType
- }
- return EnumContentType_UnknownContent
- }
- func (x *FriendTalkNoticeMessage) GetContent() []byte {
- if x != nil {
- return x.Content
- }
- return nil
- }
- func (x *FriendTalkNoticeMessage) GetMsgId() int64 {
- if x != nil {
- return x.MsgId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetMsgRemoteId() int64 {
- if x != nil {
- return x.MsgRemoteId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetCreateTime() int64 {
- if x != nil {
- return x.CreateTime
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetSenderName() string {
- if x != nil {
- return x.SenderName
- }
- return ""
- }
- func (x *FriendTalkNoticeMessage) GetRefId() int64 {
- if x != nil {
- return x.RefId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetFlag() int32 {
- if x != nil {
- return x.Flag
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetIsRevoke() bool {
- if x != nil {
- return x.IsRevoke
- }
- return false
- }
- func (x *FriendTalkNoticeMessage) GetAtMe() bool {
- if x != nil {
- return x.AtMe
- }
- return false
- }
- func (x *FriendTalkNoticeMessage) GetTaskId() int64 {
- if x != nil {
- return x.TaskId
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetConvType() int32 {
- if x != nil {
- return x.ConvType
- }
- return 0
- }
- func (x *FriendTalkNoticeMessage) GetConvLocalId() int64 {
- if x != nil {
- return x.ConvLocalId
- }
- return 0
- }
- var File_wecom_WFriendTalkNotice_proto protoreflect.FileDescriptor
- const file_wecom_WFriendTalkNotice_proto_rawDesc = "" +
- "\n" +
- "\x1dwecom/WFriendTalkNotice.proto\x12\x10Im.Scrm.Ww.Proto\x1a\x16wecom/WTransport.proto\"\xe8\x03\n" +
- "\x17FriendTalkNoticeMessage\x12\x12\n" +
- "\x04WxId\x18\x01 \x01(\x03R\x04WxId\x12\x16\n" +
- "\x06ConvId\x18\x02 \x01(\x03R\x06ConvId\x12\x1a\n" +
- "\bSenderId\x18\x03 \x01(\x03R\bSenderId\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" +
- "\x05MsgId\x18\x06 \x01(\x03R\x05MsgId\x12 \n" +
- "\vMsgRemoteId\x18\a \x01(\x03R\vMsgRemoteId\x12\x1e\n" +
- "\n" +
- "CreateTime\x18\b \x01(\x03R\n" +
- "CreateTime\x12\x1e\n" +
- "\n" +
- "SenderName\x18\t \x01(\tR\n" +
- "SenderName\x12\x14\n" +
- "\x05RefId\x18\n" +
- " \x01(\x03R\x05RefId\x12\x12\n" +
- "\x04Flag\x18\v \x01(\x05R\x04Flag\x12\x1a\n" +
- "\bIsRevoke\x18\f \x01(\bR\bIsRevoke\x12\x12\n" +
- "\x04AtMe\x18\r \x01(\bR\x04AtMe\x12\x16\n" +
- "\x06TaskId\x18\x0e \x01(\x03R\x06TaskId\x12\x1a\n" +
- "\bConvType\x18\x0f \x01(\x05R\bConvType\x12 \n" +
- "\vConvLocalId\x18\x10 \x01(\x03R\vConvLocalIdB\x13Z\x11./workphone/wecomb\x06proto3"
- var (
- file_wecom_WFriendTalkNotice_proto_rawDescOnce sync.Once
- file_wecom_WFriendTalkNotice_proto_rawDescData []byte
- )
- func file_wecom_WFriendTalkNotice_proto_rawDescGZIP() []byte {
- file_wecom_WFriendTalkNotice_proto_rawDescOnce.Do(func() {
- file_wecom_WFriendTalkNotice_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_wecom_WFriendTalkNotice_proto_rawDesc), len(file_wecom_WFriendTalkNotice_proto_rawDesc)))
- })
- return file_wecom_WFriendTalkNotice_proto_rawDescData
- }
- var file_wecom_WFriendTalkNotice_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_wecom_WFriendTalkNotice_proto_goTypes = []any{
- (*FriendTalkNoticeMessage)(nil), // 0: Im.Scrm.Ww.Proto.FriendTalkNoticeMessage
- (EnumContentType)(0), // 1: Im.Scrm.Ww.Proto.EnumContentType
- }
- var file_wecom_WFriendTalkNotice_proto_depIdxs = []int32{
- 1, // 0: Im.Scrm.Ww.Proto.FriendTalkNoticeMessage.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_WFriendTalkNotice_proto_init() }
- func file_wecom_WFriendTalkNotice_proto_init() {
- if File_wecom_WFriendTalkNotice_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_WFriendTalkNotice_proto_rawDesc), len(file_wecom_WFriendTalkNotice_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_wecom_WFriendTalkNotice_proto_goTypes,
- DependencyIndexes: file_wecom_WFriendTalkNotice_proto_depIdxs,
- MessageInfos: file_wecom_WFriendTalkNotice_proto_msgTypes,
- }.Build()
- File_wecom_WFriendTalkNotice_proto = out.File
- file_wecom_WFriendTalkNotice_proto_goTypes = nil
- file_wecom_WFriendTalkNotice_proto_depIdxs = nil
- }
|