github.com/LagrangeDev/LagrangeGo@v0.0.0-20240512064304-ad4a85e10cb4/client/packets/pb/message/message.pb.go (about)

     1  // Code generated by protoc-gen-golite. DO NOT EDIT.
     2  // source: pb/message/message.proto
     3  
     4  package message
     5  
     6  import (
     7  	system "github.com/LagrangeDev/LagrangeGo/client/packets/pb/system"
     8  	proto "github.com/RomiChan/protobuf/proto"
     9  )
    10  
    11  type ContentHead struct {
    12  	Type      uint32               `protobuf:"varint,1,opt"`
    13  	SubType   proto.Option[uint32] `protobuf:"varint,2,opt"`
    14  	DivSeq    proto.Option[uint32] `protobuf:"varint,3,opt"`
    15  	MsgId     proto.Option[uint64] `protobuf:"varint,4,opt"`
    16  	Sequence  proto.Option[uint32] `protobuf:"varint,5,opt"`
    17  	TimeStamp proto.Option[uint64] `protobuf:"varint,6,opt"`
    18  	Field7    proto.Option[uint64] `protobuf:"varint,7,opt"`
    19  	Field8    proto.Option[uint32] `protobuf:"varint,8,opt"`
    20  	Field9    proto.Option[uint32] `protobuf:"varint,9,opt"`
    21  	NewId     proto.Option[uint64] `protobuf:"varint,12,opt"`
    22  	Foward    *ForwardHead         `protobuf:"bytes,15,opt"`
    23  	_         [0]func()
    24  }
    25  
    26  type MessageBody struct {
    27  	RichText          *RichText `protobuf:"bytes,1,opt"`
    28  	MsgContent        []byte    `protobuf:"bytes,2,opt"`
    29  	MsgEncryptContent []byte    `protobuf:"bytes,3,opt"`
    30  }
    31  
    32  type GroupRecallMsg struct {
    33  	Type     uint32                `protobuf:"varint,1,opt"`
    34  	GroupUin uint32                `protobuf:"varint,2,opt"`
    35  	Field3   *GroupRecallMsgField3 `protobuf:"bytes,3,opt"`
    36  	Field4   *GroupRecallMsgField4 `protobuf:"bytes,4,opt"`
    37  	_        [0]func()
    38  }
    39  
    40  type GroupRecallMsgField3 struct {
    41  	Sequence uint32 `protobuf:"varint,1,opt"`
    42  	Random   uint32 `protobuf:"varint,2,opt"`
    43  	Field3   uint32 `protobuf:"varint,3,opt"`
    44  	_        [0]func()
    45  }
    46  
    47  type GroupRecallMsgField4 struct {
    48  	Field1 uint32 `protobuf:"varint,1,opt"`
    49  	_      [0]func()
    50  }
    51  
    52  type Message struct {
    53  	RoutingHead *RoutingHead         `protobuf:"bytes,1,opt"`
    54  	ContentHead *ContentHead         `protobuf:"bytes,2,opt"`
    55  	Body        *MessageBody         `protobuf:"bytes,3,opt"`
    56  	Seq         proto.Option[uint32] `protobuf:"varint,4,opt"`
    57  	Rand        proto.Option[uint32] `protobuf:"varint,5,opt"`
    58  	SyncCookie  []byte               `protobuf:"bytes,6,opt"`
    59  	// optional AppShareInfo AppShare = 7;
    60  	Via         proto.Option[uint32] `protobuf:"varint,8,opt"`
    61  	DataStatist proto.Option[uint32] `protobuf:"varint,9,opt"`
    62  	// optional MultiMsgAssist MultiMsgAssist = 10;
    63  	// optional InputNotifyInfo InputNotifyInfo = 11;
    64  	Ctrl *MessageControl `protobuf:"bytes,12,opt"`
    65  	// optional ReceiptReq ReceiptReq = 13;
    66  	MultiSendSeq uint32 `protobuf:"varint,14,opt"`
    67  }
    68  
    69  type MessageControl struct {
    70  	MsgFlag int32 `protobuf:"varint,1,opt"`
    71  	_       [0]func()
    72  }
    73  
    74  type PushMsg struct {
    75  	Message     *PushMsgBody        `protobuf:"bytes,1,opt"`
    76  	Status      proto.Option[int32] `protobuf:"varint,3,opt"`
    77  	NtEvent     *system.NTSysEvent  `protobuf:"bytes,4,opt"`
    78  	PingFLag    proto.Option[int32] `protobuf:"varint,5,opt"`
    79  	GeneralFlag proto.Option[int32] `protobuf:"varint,9,opt"`
    80  	_           [0]func()
    81  }
    82  
    83  type PushMsgBody struct {
    84  	ResponseHead *ResponseHead `protobuf:"bytes,1,opt"`
    85  	ContentHead  *ContentHead  `protobuf:"bytes,2,opt"`
    86  	Body         *MessageBody  `protobuf:"bytes,3,opt"`
    87  	_            [0]func()
    88  }
    89  
    90  type ResponseHead struct {
    91  	FromUin uint32               `protobuf:"varint,1,opt"`
    92  	FromUid proto.Option[string] `protobuf:"bytes,2,opt"`
    93  	Type    uint32               `protobuf:"varint,3,opt"`
    94  	SigMap  uint32               `protobuf:"varint,4,opt"` // 鬼知道是啥
    95  	ToUin   uint32               `protobuf:"varint,5,opt"`
    96  	ToUid   proto.Option[string] `protobuf:"bytes,6,opt"`
    97  	Forward *ResponseForward     `protobuf:"bytes,7,opt"`
    98  	Grp     *ResponseGrp         `protobuf:"bytes,8,opt"`
    99  	_       [0]func()
   100  }
   101  
   102  type RoutingHead struct {
   103  	C2C        *C2C        `protobuf:"bytes,1,opt"`
   104  	Grp        *Grp        `protobuf:"bytes,2,opt"`
   105  	GrpTmp     *GrpTmp     `protobuf:"bytes,3,opt"`
   106  	WpaTmp     *WPATmp     `protobuf:"bytes,6,opt"`
   107  	Trans0X211 *Trans0X211 `protobuf:"bytes,15,opt"`
   108  	_          [0]func()
   109  }
   110  
   111  type SsoReadedReport struct {
   112  	Group *SsoReadedReportGroup `protobuf:"bytes,1,opt"`
   113  	C2C   *SsoReadedReportC2C   `protobuf:"bytes,2,opt"`
   114  	_     [0]func()
   115  }
   116  
   117  type SsoReadedReportC2C struct {
   118  	TargetUid     proto.Option[string] `protobuf:"bytes,2,opt"`
   119  	Time          uint32               `protobuf:"varint,3,opt"`
   120  	StartSequence uint32               `protobuf:"varint,4,opt"`
   121  	_             [0]func()
   122  }
   123  
   124  type SsoReadedReportGroup struct {
   125  	GroupUin      uint32 `protobuf:"varint,1,opt"`
   126  	StartSequence uint32 `protobuf:"varint,2,opt"`
   127  	_             [0]func()
   128  }
   129  
   130  type SelfRenameMsg struct {
   131  	Field1 uint32          `protobuf:"varint,1,opt"` // 20
   132  	Body   *SelfRenameBody `protobuf:"bytes,20,opt"`
   133  	_      [0]func()
   134  }
   135  
   136  type SelfRenameBody struct {
   137  	Uin        uint32      `protobuf:"varint,1,opt"`
   138  	RenameData *RenameData `protobuf:"bytes,2,opt"`
   139  	_          [0]func()
   140  }
   141  
   142  type FriendRenameMsg struct {
   143  	Body *FriendRenameMsgBody `protobuf:"bytes,1,opt"`
   144  	_    [0]func()
   145  }
   146  
   147  type FriendRenameMsgBody struct {
   148  	Field1 uint32               `protobuf:"varint,2,opt"` // 20
   149  	Data   *FriendRenameMsgData `protobuf:"bytes,8,opt"`
   150  	_      [0]func()
   151  }
   152  
   153  type FriendRenameMsgData struct {
   154  	Uid        string      `protobuf:"bytes,1,opt"`
   155  	RenameData *RenameData `protobuf:"bytes,2,opt"`
   156  	_          [0]func()
   157  }
   158  
   159  type RenameData struct {
   160  	Field1   uint32 `protobuf:"varint,1,opt"` // 20002
   161  	NickName string `protobuf:"bytes,2,opt"`
   162  	_        [0]func()
   163  }