Versions in this module Expand all Collapse all v0 v0.1.0 Feb 6, 2023 Changes in this version + var Channel_name = map[int32]string + var Channel_value = map[string]int32 + var File_github_com_txchat_imparse_proto_common_proto protoreflect.FileDescriptor + var MsgType_name = map[int32]string + var MsgType_value = map[string]int32 + var Proto_EventType_name = map[int32]string + var Proto_EventType_value = map[string]int32 + type Channel int32 + const Channel_ToGroup + const Channel_ToUser + func (Channel) Descriptor() protoreflect.EnumDescriptor + func (Channel) EnumDescriptor() ([]byte, []int) + func (Channel) Type() protoreflect.EnumType + func (x Channel) Enum() *Channel + func (x Channel) Number() protoreflect.EnumNumber + func (x Channel) String() string + type Common struct + ChannelType Channel + Datetime uint64 + From string + Mid int64 + Msg []byte + MsgType MsgType + Reference *Reference + Seq string + Source *Source + Target string + func (*Common) Descriptor() ([]byte, []int) + func (*Common) ProtoMessage() + func (x *Common) GetChannelType() Channel + func (x *Common) GetDatetime() uint64 + func (x *Common) GetFrom() string + func (x *Common) GetMid() int64 + func (x *Common) GetMsg() []byte + func (x *Common) GetMsgType() MsgType + func (x *Common) GetReference() *Reference + func (x *Common) GetSeq() string + func (x *Common) GetSource() *Source + func (x *Common) GetTarget() string + func (x *Common) ProtoReflect() protoreflect.Message + func (x *Common) Reset() + func (x *Common) String() string + type CommonAck struct + Datetime uint64 + Mid int64 + func (*CommonAck) Descriptor() ([]byte, []int) + func (*CommonAck) ProtoMessage() + func (x *CommonAck) GetDatetime() uint64 + func (x *CommonAck) GetMid() int64 + func (x *CommonAck) ProtoReflect() protoreflect.Message + func (x *CommonAck) Reset() + func (x *CommonAck) String() string + type MsgType int32 + const MsgType_Audio + const MsgType_Card + const MsgType_Collect + const MsgType_ContactCard + const MsgType_File + const MsgType_Forward + const MsgType_Image + const MsgType_Notice + const MsgType_RTCCall + const MsgType_RedPacket + const MsgType_System + const MsgType_Text + const MsgType_Transfer + const MsgType_Video + func (MsgType) Descriptor() protoreflect.EnumDescriptor + func (MsgType) EnumDescriptor() ([]byte, []int) + func (MsgType) Type() protoreflect.EnumType + func (x MsgType) Enum() *MsgType + func (x MsgType) Number() protoreflect.EnumNumber + func (x MsgType) String() string + type Proto struct + Body []byte + EventType Proto_EventType + func (*Proto) Descriptor() ([]byte, []int) + func (*Proto) ProtoMessage() + func (x *Proto) GetBody() []byte + func (x *Proto) GetEventType() Proto_EventType + func (x *Proto) ProtoReflect() protoreflect.Message + func (x *Proto) Reset() + func (x *Proto) String() string + type Proto_EventType int32 + const Proto_SYSNotice + const Proto_Signal + const Proto_common + const Proto_commonAck + func (Proto_EventType) Descriptor() protoreflect.EnumDescriptor + func (Proto_EventType) EnumDescriptor() ([]byte, []int) + func (Proto_EventType) Type() protoreflect.EnumType + func (x Proto_EventType) Enum() *Proto_EventType + func (x Proto_EventType) Number() protoreflect.EnumNumber + func (x Proto_EventType) String() string + type Reference struct + Ref int64 + Topic int64 + func (*Reference) Descriptor() ([]byte, []int) + func (*Reference) ProtoMessage() + func (x *Reference) GetRef() int64 + func (x *Reference) GetTopic() int64 + func (x *Reference) ProtoReflect() protoreflect.Message + func (x *Reference) Reset() + func (x *Reference) String() string + type Source struct + ChannelType Channel + From *SourceUser + Target *SourceUser + func (*Source) Descriptor() ([]byte, []int) + func (*Source) ProtoMessage() + func (x *Source) GetChannelType() Channel + func (x *Source) GetFrom() *SourceUser + func (x *Source) GetTarget() *SourceUser + func (x *Source) ProtoReflect() protoreflect.Message + func (x *Source) Reset() + func (x *Source) String() string + type SourceUser struct + Id string + Name string + func (*SourceUser) Descriptor() ([]byte, []int) + func (*SourceUser) ProtoMessage() + func (x *SourceUser) GetId() string + func (x *SourceUser) GetName() string + func (x *SourceUser) ProtoReflect() protoreflect.Message + func (x *SourceUser) Reset() + func (x *SourceUser) String() string