You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
754 lines
26 KiB
754 lines
26 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: sdk_ws/ws.proto
|
|
|
|
package open_im_sdk // import "./sdk_ws"
|
|
|
|
import proto "github.com/golang/protobuf/proto"
|
|
import fmt "fmt"
|
|
import math "math"
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
|
|
|
type PullMessageBySeqListResp struct {
|
|
MaxSeq int64 `protobuf:"varint,1,opt,name=MaxSeq" json:"MaxSeq,omitempty"`
|
|
MinSeq int64 `protobuf:"varint,2,opt,name=MinSeq" json:"MinSeq,omitempty"`
|
|
SingleUserMsg []*GatherFormat `protobuf:"bytes,3,rep,name=SingleUserMsg" json:"SingleUserMsg,omitempty"`
|
|
GroupUserMsg []*GatherFormat `protobuf:"bytes,4,rep,name=GroupUserMsg" json:"GroupUserMsg,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PullMessageBySeqListResp) Reset() { *m = PullMessageBySeqListResp{} }
|
|
func (m *PullMessageBySeqListResp) String() string { return proto.CompactTextString(m) }
|
|
func (*PullMessageBySeqListResp) ProtoMessage() {}
|
|
func (*PullMessageBySeqListResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{0}
|
|
}
|
|
func (m *PullMessageBySeqListResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PullMessageBySeqListResp.Unmarshal(m, b)
|
|
}
|
|
func (m *PullMessageBySeqListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PullMessageBySeqListResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *PullMessageBySeqListResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullMessageBySeqListResp.Merge(dst, src)
|
|
}
|
|
func (m *PullMessageBySeqListResp) XXX_Size() int {
|
|
return xxx_messageInfo_PullMessageBySeqListResp.Size(m)
|
|
}
|
|
func (m *PullMessageBySeqListResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullMessageBySeqListResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullMessageBySeqListResp proto.InternalMessageInfo
|
|
|
|
func (m *PullMessageBySeqListResp) GetMaxSeq() int64 {
|
|
if m != nil {
|
|
return m.MaxSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PullMessageBySeqListResp) GetMinSeq() int64 {
|
|
if m != nil {
|
|
return m.MinSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *PullMessageBySeqListResp) GetSingleUserMsg() []*GatherFormat {
|
|
if m != nil {
|
|
return m.SingleUserMsg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *PullMessageBySeqListResp) GetGroupUserMsg() []*GatherFormat {
|
|
if m != nil {
|
|
return m.GroupUserMsg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PullMessageBySeqListReq struct {
|
|
SeqList []int64 `protobuf:"varint,1,rep,packed,name=seqList" json:"seqList,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *PullMessageBySeqListReq) Reset() { *m = PullMessageBySeqListReq{} }
|
|
func (m *PullMessageBySeqListReq) String() string { return proto.CompactTextString(m) }
|
|
func (*PullMessageBySeqListReq) ProtoMessage() {}
|
|
func (*PullMessageBySeqListReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{1}
|
|
}
|
|
func (m *PullMessageBySeqListReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_PullMessageBySeqListReq.Unmarshal(m, b)
|
|
}
|
|
func (m *PullMessageBySeqListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_PullMessageBySeqListReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *PullMessageBySeqListReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_PullMessageBySeqListReq.Merge(dst, src)
|
|
}
|
|
func (m *PullMessageBySeqListReq) XXX_Size() int {
|
|
return xxx_messageInfo_PullMessageBySeqListReq.Size(m)
|
|
}
|
|
func (m *PullMessageBySeqListReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_PullMessageBySeqListReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_PullMessageBySeqListReq proto.InternalMessageInfo
|
|
|
|
func (m *PullMessageBySeqListReq) GetSeqList() []int64 {
|
|
if m != nil {
|
|
return m.SeqList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetMaxAndMinSeqReq struct {
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetMaxAndMinSeqReq) Reset() { *m = GetMaxAndMinSeqReq{} }
|
|
func (m *GetMaxAndMinSeqReq) String() string { return proto.CompactTextString(m) }
|
|
func (*GetMaxAndMinSeqReq) ProtoMessage() {}
|
|
func (*GetMaxAndMinSeqReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{2}
|
|
}
|
|
func (m *GetMaxAndMinSeqReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetMaxAndMinSeqReq.Unmarshal(m, b)
|
|
}
|
|
func (m *GetMaxAndMinSeqReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetMaxAndMinSeqReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetMaxAndMinSeqReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetMaxAndMinSeqReq.Merge(dst, src)
|
|
}
|
|
func (m *GetMaxAndMinSeqReq) XXX_Size() int {
|
|
return xxx_messageInfo_GetMaxAndMinSeqReq.Size(m)
|
|
}
|
|
func (m *GetMaxAndMinSeqReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetMaxAndMinSeqReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetMaxAndMinSeqReq proto.InternalMessageInfo
|
|
|
|
type GetMaxAndMinSeqResp struct {
|
|
MaxSeq int64 `protobuf:"varint,1,opt,name=maxSeq" json:"maxSeq,omitempty"`
|
|
MinSeq int64 `protobuf:"varint,2,opt,name=minSeq" json:"minSeq,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GetMaxAndMinSeqResp) Reset() { *m = GetMaxAndMinSeqResp{} }
|
|
func (m *GetMaxAndMinSeqResp) String() string { return proto.CompactTextString(m) }
|
|
func (*GetMaxAndMinSeqResp) ProtoMessage() {}
|
|
func (*GetMaxAndMinSeqResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{3}
|
|
}
|
|
func (m *GetMaxAndMinSeqResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GetMaxAndMinSeqResp.Unmarshal(m, b)
|
|
}
|
|
func (m *GetMaxAndMinSeqResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GetMaxAndMinSeqResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GetMaxAndMinSeqResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GetMaxAndMinSeqResp.Merge(dst, src)
|
|
}
|
|
func (m *GetMaxAndMinSeqResp) XXX_Size() int {
|
|
return xxx_messageInfo_GetMaxAndMinSeqResp.Size(m)
|
|
}
|
|
func (m *GetMaxAndMinSeqResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GetMaxAndMinSeqResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GetMaxAndMinSeqResp proto.InternalMessageInfo
|
|
|
|
func (m *GetMaxAndMinSeqResp) GetMaxSeq() int64 {
|
|
if m != nil {
|
|
return m.MaxSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *GetMaxAndMinSeqResp) GetMinSeq() int64 {
|
|
if m != nil {
|
|
return m.MinSeq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type GatherFormat struct {
|
|
// @inject_tag: json:"id"
|
|
ID string `protobuf:"bytes,1,opt,name=ID" json:"id"`
|
|
// @inject_tag: json:"list"
|
|
List []*MsgFormat `protobuf:"bytes,2,rep,name=List" json:"list"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *GatherFormat) Reset() { *m = GatherFormat{} }
|
|
func (m *GatherFormat) String() string { return proto.CompactTextString(m) }
|
|
func (*GatherFormat) ProtoMessage() {}
|
|
func (*GatherFormat) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{4}
|
|
}
|
|
func (m *GatherFormat) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_GatherFormat.Unmarshal(m, b)
|
|
}
|
|
func (m *GatherFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_GatherFormat.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *GatherFormat) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_GatherFormat.Merge(dst, src)
|
|
}
|
|
func (m *GatherFormat) XXX_Size() int {
|
|
return xxx_messageInfo_GatherFormat.Size(m)
|
|
}
|
|
func (m *GatherFormat) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_GatherFormat.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_GatherFormat proto.InternalMessageInfo
|
|
|
|
func (m *GatherFormat) GetID() string {
|
|
if m != nil {
|
|
return m.ID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *GatherFormat) GetList() []*MsgFormat {
|
|
if m != nil {
|
|
return m.List
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MsgFormat struct {
|
|
// @inject_tag: json:"sendID"
|
|
SendID string `protobuf:"bytes,1,opt,name=SendID" json:"sendID"`
|
|
// @inject_tag: json:"recvID"
|
|
RecvID string `protobuf:"bytes,2,opt,name=RecvID" json:"recvID"`
|
|
// @inject_tag: json:"msgFrom"
|
|
MsgFrom int32 `protobuf:"varint,3,opt,name=MsgFrom" json:"msgFrom"`
|
|
// @inject_tag: json:"contentType"
|
|
ContentType int32 `protobuf:"varint,4,opt,name=ContentType" json:"contentType"`
|
|
// @inject_tag: json:"serverMsgID"
|
|
ServerMsgID string `protobuf:"bytes,5,opt,name=ServerMsgID" json:"serverMsgID"`
|
|
// @inject_tag: json:"content"
|
|
Content string `protobuf:"bytes,6,opt,name=Content" json:"content"`
|
|
// @inject_tag: json:"seq"
|
|
Seq int64 `protobuf:"varint,7,opt,name=Seq" json:"seq"`
|
|
// @inject_tag: json:"sendTime"
|
|
SendTime int64 `protobuf:"varint,8,opt,name=SendTime" json:"sendTime"`
|
|
// @inject_tag: json:"senderPlatformID"
|
|
SenderPlatformID int32 `protobuf:"varint,9,opt,name=SenderPlatformID" json:"senderPlatformID"`
|
|
// @inject_tag: json:"senderNickName"
|
|
SenderNickName string `protobuf:"bytes,10,opt,name=SenderNickName" json:"senderNickName"`
|
|
// @inject_tag: json:"senderFaceUrl"
|
|
SenderFaceURL string `protobuf:"bytes,11,opt,name=SenderFaceURL" json:"senderFaceUrl"`
|
|
// @inject_tag: json:"clientMsgID"
|
|
ClientMsgID string `protobuf:"bytes,12,opt,name=ClientMsgID" json:"clientMsgID"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MsgFormat) Reset() { *m = MsgFormat{} }
|
|
func (m *MsgFormat) String() string { return proto.CompactTextString(m) }
|
|
func (*MsgFormat) ProtoMessage() {}
|
|
func (*MsgFormat) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{5}
|
|
}
|
|
func (m *MsgFormat) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MsgFormat.Unmarshal(m, b)
|
|
}
|
|
func (m *MsgFormat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MsgFormat.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MsgFormat) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MsgFormat.Merge(dst, src)
|
|
}
|
|
func (m *MsgFormat) XXX_Size() int {
|
|
return xxx_messageInfo_MsgFormat.Size(m)
|
|
}
|
|
func (m *MsgFormat) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MsgFormat.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MsgFormat proto.InternalMessageInfo
|
|
|
|
func (m *MsgFormat) GetSendID() string {
|
|
if m != nil {
|
|
return m.SendID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetRecvID() string {
|
|
if m != nil {
|
|
return m.RecvID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetMsgFrom() int32 {
|
|
if m != nil {
|
|
return m.MsgFrom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgFormat) GetContentType() int32 {
|
|
if m != nil {
|
|
return m.ContentType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgFormat) GetServerMsgID() string {
|
|
if m != nil {
|
|
return m.ServerMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetSeq() int64 {
|
|
if m != nil {
|
|
return m.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgFormat) GetSendTime() int64 {
|
|
if m != nil {
|
|
return m.SendTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgFormat) GetSenderPlatformID() int32 {
|
|
if m != nil {
|
|
return m.SenderPlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgFormat) GetSenderNickName() string {
|
|
if m != nil {
|
|
return m.SenderNickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetSenderFaceURL() string {
|
|
if m != nil {
|
|
return m.SenderFaceURL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgFormat) GetClientMsgID() string {
|
|
if m != nil {
|
|
return m.ClientMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserSendMsgReq struct {
|
|
Options map[string]int32 `protobuf:"bytes,1,rep,name=Options" json:"Options,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
|
|
SenderNickName string `protobuf:"bytes,2,opt,name=SenderNickName" json:"SenderNickName,omitempty"`
|
|
SenderFaceURL string `protobuf:"bytes,3,opt,name=SenderFaceURL" json:"SenderFaceURL,omitempty"`
|
|
PlatformID int32 `protobuf:"varint,4,opt,name=PlatformID" json:"PlatformID,omitempty"`
|
|
SessionType int32 `protobuf:"varint,5,opt,name=SessionType" json:"SessionType,omitempty"`
|
|
MsgFrom int32 `protobuf:"varint,6,opt,name=MsgFrom" json:"MsgFrom,omitempty"`
|
|
ContentType int32 `protobuf:"varint,7,opt,name=ContentType" json:"ContentType,omitempty"`
|
|
RecvID string `protobuf:"bytes,8,opt,name=RecvID" json:"RecvID,omitempty"`
|
|
ForceList []string `protobuf:"bytes,9,rep,name=ForceList" json:"ForceList,omitempty"`
|
|
Content string `protobuf:"bytes,10,opt,name=Content" json:"Content,omitempty"`
|
|
ClientMsgID string `protobuf:"bytes,11,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UserSendMsgReq) Reset() { *m = UserSendMsgReq{} }
|
|
func (m *UserSendMsgReq) String() string { return proto.CompactTextString(m) }
|
|
func (*UserSendMsgReq) ProtoMessage() {}
|
|
func (*UserSendMsgReq) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{6}
|
|
}
|
|
func (m *UserSendMsgReq) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UserSendMsgReq.Unmarshal(m, b)
|
|
}
|
|
func (m *UserSendMsgReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UserSendMsgReq.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UserSendMsgReq) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UserSendMsgReq.Merge(dst, src)
|
|
}
|
|
func (m *UserSendMsgReq) XXX_Size() int {
|
|
return xxx_messageInfo_UserSendMsgReq.Size(m)
|
|
}
|
|
func (m *UserSendMsgReq) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UserSendMsgReq.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UserSendMsgReq proto.InternalMessageInfo
|
|
|
|
func (m *UserSendMsgReq) GetOptions() map[string]int32 {
|
|
if m != nil {
|
|
return m.Options
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetSenderNickName() string {
|
|
if m != nil {
|
|
return m.SenderNickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetSenderFaceURL() string {
|
|
if m != nil {
|
|
return m.SenderFaceURL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetPlatformID() int32 {
|
|
if m != nil {
|
|
return m.PlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetSessionType() int32 {
|
|
if m != nil {
|
|
return m.SessionType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetMsgFrom() int32 {
|
|
if m != nil {
|
|
return m.MsgFrom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetContentType() int32 {
|
|
if m != nil {
|
|
return m.ContentType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetRecvID() string {
|
|
if m != nil {
|
|
return m.RecvID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetForceList() []string {
|
|
if m != nil {
|
|
return m.ForceList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgReq) GetClientMsgID() string {
|
|
if m != nil {
|
|
return m.ClientMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type UserSendMsgResp struct {
|
|
ServerMsgID string `protobuf:"bytes,1,opt,name=ServerMsgID" json:"ServerMsgID,omitempty"`
|
|
ClientMsgID string `protobuf:"bytes,2,opt,name=ClientMsgID" json:"ClientMsgID,omitempty"`
|
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime" json:"sendTime,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *UserSendMsgResp) Reset() { *m = UserSendMsgResp{} }
|
|
func (m *UserSendMsgResp) String() string { return proto.CompactTextString(m) }
|
|
func (*UserSendMsgResp) ProtoMessage() {}
|
|
func (*UserSendMsgResp) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{7}
|
|
}
|
|
func (m *UserSendMsgResp) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_UserSendMsgResp.Unmarshal(m, b)
|
|
}
|
|
func (m *UserSendMsgResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_UserSendMsgResp.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *UserSendMsgResp) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_UserSendMsgResp.Merge(dst, src)
|
|
}
|
|
func (m *UserSendMsgResp) XXX_Size() int {
|
|
return xxx_messageInfo_UserSendMsgResp.Size(m)
|
|
}
|
|
func (m *UserSendMsgResp) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_UserSendMsgResp.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_UserSendMsgResp proto.InternalMessageInfo
|
|
|
|
func (m *UserSendMsgResp) GetServerMsgID() string {
|
|
if m != nil {
|
|
return m.ServerMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgResp) GetClientMsgID() string {
|
|
if m != nil {
|
|
return m.ClientMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *UserSendMsgResp) GetSendTime() int64 {
|
|
if m != nil {
|
|
return m.SendTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MsgData struct {
|
|
SendID string `protobuf:"bytes,1,opt,name=sendID" json:"sendID,omitempty"`
|
|
RecvID string `protobuf:"bytes,2,opt,name=recvID" json:"recvID,omitempty"`
|
|
SessionType int32 `protobuf:"varint,3,opt,name=sessionType" json:"sessionType,omitempty"`
|
|
MsgFrom int32 `protobuf:"varint,4,opt,name=msgFrom" json:"msgFrom,omitempty"`
|
|
ContentType int32 `protobuf:"varint,5,opt,name=contentType" json:"contentType,omitempty"`
|
|
ServerMsgID string `protobuf:"bytes,6,opt,name=serverMsgID" json:"serverMsgID,omitempty"`
|
|
Content string `protobuf:"bytes,7,opt,name=content" json:"content,omitempty"`
|
|
SendTime int64 `protobuf:"varint,8,opt,name=sendTime" json:"sendTime,omitempty"`
|
|
Seq int64 `protobuf:"varint,9,opt,name=seq" json:"seq,omitempty"`
|
|
SenderPlatformID int32 `protobuf:"varint,10,opt,name=senderPlatformID" json:"senderPlatformID,omitempty"`
|
|
SenderNickName string `protobuf:"bytes,11,opt,name=senderNickName" json:"senderNickName,omitempty"`
|
|
SenderFaceURL string `protobuf:"bytes,12,opt,name=senderFaceURL" json:"senderFaceURL,omitempty"`
|
|
ClientMsgID string `protobuf:"bytes,13,opt,name=clientMsgID" json:"clientMsgID,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MsgData) Reset() { *m = MsgData{} }
|
|
func (m *MsgData) String() string { return proto.CompactTextString(m) }
|
|
func (*MsgData) ProtoMessage() {}
|
|
func (*MsgData) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_ws_f143de4f947df40f, []int{8}
|
|
}
|
|
func (m *MsgData) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MsgData.Unmarshal(m, b)
|
|
}
|
|
func (m *MsgData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MsgData.Marshal(b, m, deterministic)
|
|
}
|
|
func (dst *MsgData) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MsgData.Merge(dst, src)
|
|
}
|
|
func (m *MsgData) XXX_Size() int {
|
|
return xxx_messageInfo_MsgData.Size(m)
|
|
}
|
|
func (m *MsgData) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MsgData.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MsgData proto.InternalMessageInfo
|
|
|
|
func (m *MsgData) GetSendID() string {
|
|
if m != nil {
|
|
return m.SendID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetRecvID() string {
|
|
if m != nil {
|
|
return m.RecvID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetSessionType() int32 {
|
|
if m != nil {
|
|
return m.SessionType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetMsgFrom() int32 {
|
|
if m != nil {
|
|
return m.MsgFrom
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetContentType() int32 {
|
|
if m != nil {
|
|
return m.ContentType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetServerMsgID() string {
|
|
if m != nil {
|
|
return m.ServerMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetContent() string {
|
|
if m != nil {
|
|
return m.Content
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetSendTime() int64 {
|
|
if m != nil {
|
|
return m.SendTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetSeq() int64 {
|
|
if m != nil {
|
|
return m.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetSenderPlatformID() int32 {
|
|
if m != nil {
|
|
return m.SenderPlatformID
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *MsgData) GetSenderNickName() string {
|
|
if m != nil {
|
|
return m.SenderNickName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetSenderFaceURL() string {
|
|
if m != nil {
|
|
return m.SenderFaceURL
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MsgData) GetClientMsgID() string {
|
|
if m != nil {
|
|
return m.ClientMsgID
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*PullMessageBySeqListResp)(nil), "open_im_sdk.PullMessageBySeqListResp")
|
|
proto.RegisterType((*PullMessageBySeqListReq)(nil), "open_im_sdk.PullMessageBySeqListReq")
|
|
proto.RegisterType((*GetMaxAndMinSeqReq)(nil), "open_im_sdk.GetMaxAndMinSeqReq")
|
|
proto.RegisterType((*GetMaxAndMinSeqResp)(nil), "open_im_sdk.GetMaxAndMinSeqResp")
|
|
proto.RegisterType((*GatherFormat)(nil), "open_im_sdk.GatherFormat")
|
|
proto.RegisterType((*MsgFormat)(nil), "open_im_sdk.MsgFormat")
|
|
proto.RegisterType((*UserSendMsgReq)(nil), "open_im_sdk.UserSendMsgReq")
|
|
proto.RegisterMapType((map[string]int32)(nil), "open_im_sdk.UserSendMsgReq.OptionsEntry")
|
|
proto.RegisterType((*UserSendMsgResp)(nil), "open_im_sdk.UserSendMsgResp")
|
|
proto.RegisterType((*MsgData)(nil), "open_im_sdk.MsgData")
|
|
}
|
|
|
|
func init() { proto.RegisterFile("sdk_ws/ws.proto", fileDescriptor_ws_f143de4f947df40f) }
|
|
|
|
var fileDescriptor_ws_f143de4f947df40f = []byte{
|
|
// 739 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x55, 0x4b, 0x6b, 0xdb, 0x4a,
|
|
0x14, 0x46, 0x52, 0xfc, 0xd0, 0xb1, 0xf3, 0x60, 0x6e, 0xc8, 0xd5, 0x0d, 0x97, 0x8b, 0x11, 0x97,
|
|
0x62, 0xb2, 0x70, 0x20, 0xd9, 0x94, 0x94, 0x52, 0x9a, 0x3a, 0x09, 0x2e, 0x71, 0x1a, 0xc6, 0xc9,
|
|
0xa6, 0x9b, 0xa0, 0xda, 0x53, 0x57, 0xd8, 0x7a, 0x58, 0x47, 0x79, 0xf8, 0xc7, 0xf4, 0x0f, 0x75,
|
|
0xd1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