mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-09 03:25:59 +08:00
send msg file modify
This commit is contained in:
+28
-53
@@ -5,6 +5,7 @@ import (
|
||||
"Open_IM/pkg/common/constant"
|
||||
"Open_IM/pkg/common/log"
|
||||
pbMsg "Open_IM/pkg/proto/chat"
|
||||
"Open_IM/pkg/proto/sdk_ws"
|
||||
"errors"
|
||||
"github.com/garyburd/redigo/redis"
|
||||
"github.com/golang/protobuf/proto"
|
||||
@@ -13,7 +14,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const cChat = "chat"
|
||||
const cChat = "msg"
|
||||
const cGroup = "group"
|
||||
const singleGocMsgNum = 5000
|
||||
|
||||
@@ -32,7 +33,7 @@ type GroupMember struct {
|
||||
UIDList []string
|
||||
}
|
||||
|
||||
func (d *DataBases) GetMsgBySeqRange(uid string, seqBegin, seqEnd int64) (SingleMsg []*pbMsg.MsgFormat, GroupMsg []*pbMsg.MsgFormat, MaxSeq int64, MinSeq int64, err error) {
|
||||
func (d *DataBases) GetMsgBySeqRange(uid string, seqBegin, seqEnd int64) (SingleMsg []*open_im_sdk.MsgData, GroupMsg []*open_im_sdk.MsgData, MaxSeq int64, MinSeq int64, err error) {
|
||||
var count int64
|
||||
session := d.mgoSession.Clone()
|
||||
if session == nil {
|
||||
@@ -46,38 +47,25 @@ func (d *DataBases) GetMsgBySeqRange(uid string, seqBegin, seqEnd int64) (Single
|
||||
if err = c.Find(bson.M{"uid": uid}).One(&sChat); err != nil {
|
||||
return nil, nil, MaxSeq, MinSeq, err
|
||||
}
|
||||
pChat := pbMsg.MsgSvrToPushSvrChatMsg{}
|
||||
for i := 0; i < len(sChat.Msg); i++ {
|
||||
temp := new(pbMsg.MsgFormat)
|
||||
if err = proto.Unmarshal(sChat.Msg[i].Msg, &pChat); err != nil {
|
||||
msg := new(open_im_sdk.MsgData)
|
||||
if err = proto.Unmarshal(sChat.Msg[i].Msg, msg); err != nil {
|
||||
return nil, nil, MaxSeq, MinSeq, err
|
||||
}
|
||||
if pChat.RecvSeq >= seqBegin && pChat.RecvSeq <= seqEnd {
|
||||
temp.SendID = pChat.SendID
|
||||
temp.RecvID = pChat.RecvID
|
||||
temp.MsgFrom = pChat.MsgFrom
|
||||
temp.Seq = pChat.RecvSeq
|
||||
temp.ServerMsgID = pChat.MsgID
|
||||
temp.SendTime = pChat.SendTime
|
||||
temp.Content = pChat.Content
|
||||
temp.ContentType = pChat.ContentType
|
||||
temp.SenderPlatformID = pChat.PlatformID
|
||||
temp.ClientMsgID = pChat.ClientMsgID
|
||||
temp.SenderFaceURL = pChat.SenderFaceURL
|
||||
temp.SenderNickName = pChat.SenderNickName
|
||||
if pChat.RecvSeq > MaxSeq {
|
||||
MaxSeq = pChat.RecvSeq
|
||||
if msg.Seq >= seqBegin && msg.Seq <= seqEnd {
|
||||
if msg.Seq > MaxSeq {
|
||||
MaxSeq = msg.Seq
|
||||
}
|
||||
if count == 0 {
|
||||
MinSeq = pChat.RecvSeq
|
||||
MinSeq = msg.Seq
|
||||
}
|
||||
if pChat.RecvSeq < MinSeq {
|
||||
MinSeq = pChat.RecvSeq
|
||||
if msg.Seq < MinSeq {
|
||||
MinSeq = msg.Seq
|
||||
}
|
||||
if pChat.SessionType == constant.SingleChatType {
|
||||
SingleMsg = append(SingleMsg, temp)
|
||||
if msg.SessionType == constant.SingleChatType {
|
||||
SingleMsg = append(SingleMsg, msg)
|
||||
} else {
|
||||
GroupMsg = append(GroupMsg, temp)
|
||||
GroupMsg = append(GroupMsg, msg)
|
||||
}
|
||||
count++
|
||||
if count == (seqEnd - seqBegin + 1) {
|
||||
@@ -116,7 +104,7 @@ func (d *DataBases) GetMinSeqFromMongo(uid string) (MinSeq int64, err error) {
|
||||
}
|
||||
return MinSeq, nil
|
||||
}
|
||||
func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*pbMsg.MsgFormat, GroupMsg []*pbMsg.MsgFormat, MaxSeq int64, MinSeq int64, err error) {
|
||||
func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*open_im_sdk.MsgData, GroupMsg []*open_im_sdk.MsgData, MaxSeq int64, MinSeq int64, err error) {
|
||||
allCount := 0
|
||||
singleCount := 0
|
||||
session := d.mgoSession.Clone()
|
||||
@@ -140,7 +128,6 @@ func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*p
|
||||
return t
|
||||
}(uid, seqList)
|
||||
sChat := UserChat{}
|
||||
pChat := pbMsg.MsgSvrToPushSvrChatMsg{}
|
||||
for seqUid, value := range m {
|
||||
if err = c.Find(bson.M{"uid": seqUid}).One(&sChat); err != nil {
|
||||
log.NewError("", "not find seqUid", seqUid, value, uid, seqList)
|
||||
@@ -148,37 +135,25 @@ func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*p
|
||||
}
|
||||
singleCount = 0
|
||||
for i := 0; i < len(sChat.Msg); i++ {
|
||||
temp := new(pbMsg.MsgFormat)
|
||||
if err = proto.Unmarshal(sChat.Msg[i].Msg, &pChat); err != nil {
|
||||
msg := new(open_im_sdk.MsgData)
|
||||
if err = proto.Unmarshal(sChat.Msg[i].Msg, msg); err != nil {
|
||||
log.NewError("", "not find seqUid", seqUid, value, uid, seqList)
|
||||
return nil, nil, MaxSeq, MinSeq, err
|
||||
}
|
||||
if isContainInt64(pChat.RecvSeq, value) {
|
||||
temp.SendID = pChat.SendID
|
||||
temp.RecvID = pChat.RecvID
|
||||
temp.MsgFrom = pChat.MsgFrom
|
||||
temp.Seq = pChat.RecvSeq
|
||||
temp.ServerMsgID = pChat.MsgID
|
||||
temp.SendTime = pChat.SendTime
|
||||
temp.Content = pChat.Content
|
||||
temp.ContentType = pChat.ContentType
|
||||
temp.SenderPlatformID = pChat.PlatformID
|
||||
temp.ClientMsgID = pChat.ClientMsgID
|
||||
temp.SenderFaceURL = pChat.SenderFaceURL
|
||||
temp.SenderNickName = pChat.SenderNickName
|
||||
if pChat.RecvSeq > MaxSeq {
|
||||
MaxSeq = pChat.RecvSeq
|
||||
if isContainInt64(msg.Seq, value) {
|
||||
if msg.Seq > MaxSeq {
|
||||
MaxSeq = msg.Seq
|
||||
}
|
||||
if allCount == 0 {
|
||||
MinSeq = pChat.RecvSeq
|
||||
MinSeq = msg.Seq
|
||||
}
|
||||
if pChat.RecvSeq < MinSeq {
|
||||
MinSeq = pChat.RecvSeq
|
||||
if msg.Seq < MinSeq {
|
||||
MinSeq = msg.Seq
|
||||
}
|
||||
if pChat.SessionType == constant.SingleChatType {
|
||||
SingleMsg = append(SingleMsg, temp)
|
||||
if msg.SessionType == constant.SingleChatType {
|
||||
SingleMsg = append(SingleMsg, msg)
|
||||
} else {
|
||||
GroupMsg = append(GroupMsg, temp)
|
||||
GroupMsg = append(GroupMsg, msg)
|
||||
}
|
||||
allCount++
|
||||
singleCount++
|
||||
@@ -190,7 +165,7 @@ func (d *DataBases) GetMsgBySeqList(uid string, seqList []int64) (SingleMsg []*p
|
||||
}
|
||||
return SingleMsg, GroupMsg, MaxSeq, MinSeq, nil
|
||||
}
|
||||
func (d *DataBases) SaveUserChat(uid string, sendTime int64, m *pbMsg.MsgSvrToPushSvrChatMsg) error {
|
||||
func (d *DataBases) SaveUserChat(uid string, sendTime int64, m *pbMsg.MsgDataToDB) error {
|
||||
var seqUid string
|
||||
newTime := getCurrentTimestampByMill()
|
||||
session := d.mgoSession.Clone()
|
||||
@@ -200,7 +175,7 @@ func (d *DataBases) SaveUserChat(uid string, sendTime int64, m *pbMsg.MsgSvrToPu
|
||||
defer session.Close()
|
||||
log.NewDebug("", "get mgoSession cost time", getCurrentTimestampByMill()-newTime)
|
||||
c := session.DB(config.Config.Mongo.DBDatabase).C(cChat)
|
||||
seqUid = getSeqUid(uid, m.RecvSeq)
|
||||
seqUid = getSeqUid(uid, m.MsgData.Seq)
|
||||
n, err := c.Find(bson.M{"uid": seqUid}).Count()
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
package im_mysql_msg_model
|
||||
|
||||
import (
|
||||
"Open_IM/pkg/common/constant"
|
||||
"Open_IM/pkg/common/db"
|
||||
pbMsg "Open_IM/pkg/proto/chat"
|
||||
"Open_IM/pkg/utils"
|
||||
@@ -28,21 +29,27 @@ type ChatLog struct {
|
||||
Remark sql.NullString `gorm:"column:remark"` // remark
|
||||
}
|
||||
|
||||
func InsertMessageToChatLog(msgData pbMsg.WSToMsgSvrChatMsg) error {
|
||||
func InsertMessageToChatLog(msg pbMsg.MsgDataToMQ) error {
|
||||
dbConn, err := db.DB.MysqlDB.DefaultGormDB()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
chatLog := ChatLog{
|
||||
MsgId: msgData.MsgID,
|
||||
SendID: msgData.SendID,
|
||||
RecvID: msgData.RecvID,
|
||||
SendTime: utils.UnixNanoSecondToTime(msgData.SendTime),
|
||||
SessionType: msgData.SessionType,
|
||||
ContentType: msgData.ContentType,
|
||||
MsgFrom: msgData.MsgFrom,
|
||||
Content: msgData.Content,
|
||||
SenderPlatformID: msgData.PlatformID,
|
||||
MsgId: msg.MsgData.ServerMsgID,
|
||||
SendID: msg.MsgData.SendID,
|
||||
SendTime: utils.UnixNanoSecondToTime(msg.MsgData.SendTime),
|
||||
SessionType: msg.MsgData.SessionType,
|
||||
ContentType: msg.MsgData.ContentType,
|
||||
MsgFrom: msg.MsgData.MsgFrom,
|
||||
Content: string(msg.MsgData.Content),
|
||||
SenderPlatformID: msg.MsgData.SenderPlatformID,
|
||||
}
|
||||
switch msg.MsgData.SessionType {
|
||||
case constant.GroupChatType:
|
||||
chatLog.RecvID = msg.MsgData.GroupID
|
||||
case constant.SingleChatType:
|
||||
chatLog.RecvID = msg.MsgData.RecvID
|
||||
}
|
||||
|
||||
return dbConn.Table("chat_log").Create(chatLog).Error
|
||||
}
|
||||
|
||||
+59
-59
@@ -12,6 +12,7 @@ message MsgDataToMQ{
|
||||
|
||||
message MsgDataToDB {
|
||||
open_im_sdk.MsgData msgData = 1;
|
||||
string operationID = 2;
|
||||
|
||||
}
|
||||
message PushMsgDataToMQ{
|
||||
@@ -19,26 +20,26 @@ message PushMsgDataToMQ{
|
||||
open_im_sdk.MsgData msgData = 2;
|
||||
}
|
||||
|
||||
message PullMessageReq {
|
||||
string UserID = 1;
|
||||
int64 SeqBegin = 2;
|
||||
int64 SeqEnd = 3;
|
||||
string OperationID = 4;
|
||||
}
|
||||
|
||||
message PullMessageResp {
|
||||
int32 ErrCode = 1;
|
||||
string ErrMsg = 2;
|
||||
int64 MaxSeq = 3;
|
||||
int64 MinSeq = 4;
|
||||
repeated GatherFormat SingleUserMsg = 5;
|
||||
repeated GatherFormat GroupUserMsg = 6;
|
||||
}
|
||||
message PullMessageBySeqListReq{
|
||||
string UserID = 1;
|
||||
string OperationID = 2;
|
||||
repeated int64 seqList =3;
|
||||
}
|
||||
//message PullMessageReq {
|
||||
// string UserID = 1;
|
||||
// int64 SeqBegin = 2;
|
||||
// int64 SeqEnd = 3;
|
||||
// string OperationID = 4;
|
||||
//}
|
||||
//
|
||||
//message PullMessageResp {
|
||||
// int32 ErrCode = 1;
|
||||
// string ErrMsg = 2;
|
||||
// int64 MaxSeq = 3;
|
||||
// int64 MinSeq = 4;
|
||||
// repeated GatherFormat SingleUserMsg = 5;
|
||||
// repeated GatherFormat GroupUserMsg = 6;
|
||||
//}
|
||||
//message PullMessageBySeqListReq{
|
||||
// string UserID = 1;
|
||||
// string OperationID = 2;
|
||||
// repeated int64 seqList =3;
|
||||
//}
|
||||
message GetMaxAndMinSeqReq {
|
||||
string UserID = 1;
|
||||
string OperationID = 2;
|
||||
@@ -49,38 +50,38 @@ message GetMaxAndMinSeqResp {
|
||||
int64 MaxSeq = 3;
|
||||
int64 MinSeq = 4;
|
||||
}
|
||||
message GatherFormat{
|
||||
// @inject_tag: json:"id"
|
||||
string ID = 1;
|
||||
// @inject_tag: json:"list"
|
||||
repeated MsgFormat List = 2;//detail msg
|
||||
}
|
||||
message MsgFormat{
|
||||
// @inject_tag: json:"sendID"
|
||||
string SendID = 1;
|
||||
// @inject_tag: json:"recvID"
|
||||
string RecvID = 2;
|
||||
// @inject_tag: json:"msgFrom"
|
||||
int32 MsgFrom = 3;
|
||||
// @inject_tag: json:"contentType"
|
||||
int32 ContentType = 4;
|
||||
// @inject_tag: json:"serverMsgID"
|
||||
string ServerMsgID = 5;
|
||||
// @inject_tag: json:"content"
|
||||
string Content = 6;
|
||||
// @inject_tag: json:"seq"
|
||||
int64 Seq = 7;
|
||||
// @inject_tag: json:"sendTime"
|
||||
int64 SendTime = 8;
|
||||
// @inject_tag: json:"senderPlatformID"
|
||||
int32 SenderPlatformID = 9;
|
||||
// @inject_tag: json:"senderNickName"
|
||||
string SenderNickName = 10;
|
||||
// @inject_tag: json:"senderFaceUrl"
|
||||
string SenderFaceURL = 11;
|
||||
// @inject_tag: json:"clientMsgID"
|
||||
string ClientMsgID = 12;
|
||||
}
|
||||
//message GatherFormat{
|
||||
// // @inject_tag: json:"id"
|
||||
// string ID = 1;
|
||||
// // @inject_tag: json:"list"
|
||||
// repeated MsgFormat List = 2;//detail msg
|
||||
//}
|
||||
//message MsgFormat{
|
||||
// // @inject_tag: json:"sendID"
|
||||
// string SendID = 1;
|
||||
// // @inject_tag: json:"recvID"
|
||||
// string RecvID = 2;
|
||||
// // @inject_tag: json:"msgFrom"
|
||||
// int32 MsgFrom = 3;
|
||||
// // @inject_tag: json:"contentType"
|
||||
// int32 ContentType = 4;
|
||||
// // @inject_tag: json:"serverMsgID"
|
||||
// string ServerMsgID = 5;
|
||||
// // @inject_tag: json:"content"
|
||||
// string Content = 6;
|
||||
// // @inject_tag: json:"seq"
|
||||
// int64 Seq = 7;
|
||||
// // @inject_tag: json:"sendTime"
|
||||
// int64 SendTime = 8;
|
||||
// // @inject_tag: json:"senderPlatformID"
|
||||
// int32 SenderPlatformID = 9;
|
||||
// // @inject_tag: json:"senderNickName"
|
||||
// string SenderNickName = 10;
|
||||
// // @inject_tag: json:"senderFaceUrl"
|
||||
// string SenderFaceURL = 11;
|
||||
// // @inject_tag: json:"clientMsgID"
|
||||
// string ClientMsgID = 12;
|
||||
//}
|
||||
|
||||
message SendMsgReq {
|
||||
|
||||
@@ -92,17 +93,16 @@ open_im_sdk.MsgData msgData = 3;
|
||||
}
|
||||
|
||||
message SendMsgResp {
|
||||
int32 ErrCode = 1;
|
||||
string ErrMsg = 2;
|
||||
int32 ReqIdentifier = 3;
|
||||
string ServerMsgID = 4;
|
||||
string ClientMsgID = 5;
|
||||
int32 errCode = 1;
|
||||
string errMsg = 2;
|
||||
string serverMsgID = 4;
|
||||
string clientMsgID = 5;
|
||||
int64 sendTime = 6;
|
||||
|
||||
}
|
||||
service Chat {
|
||||
rpc GetMaxAndMinSeq(GetMaxAndMinSeqReq) returns(GetMaxAndMinSeqResp);
|
||||
rpc PullMessage(PullMessageReq) returns(PullMessageResp);
|
||||
rpc PullMessageBySeqList(PullMessageBySeqListReq) returns(PullMessageResp);
|
||||
rpc PullMessage(open_im_sdk.PullMessageReq) returns(open_im_sdk.PullMessageResp);
|
||||
rpc PullMessageBySeqList(open_im_sdk.PullMessageBySeqListReq) returns(open_im_sdk.PullMessageBySeqListResp);
|
||||
rpc SendMsg(SendMsgReq) returns(SendMsgResp);
|
||||
}
|
||||
|
||||
+185
-422
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: sdk_ws/ws.proto
|
||||
|
||||
package open_im_sdk // import "./sdk_ws"
|
||||
package open_im_sdk
|
||||
|
||||
import proto "github.com/golang/protobuf/proto"
|
||||
import fmt "fmt"
|
||||
@@ -19,10 +19,12 @@ var _ = math.Inf
|
||||
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"`
|
||||
ErrCode int32 `protobuf:"varint,1,opt,name=errCode" json:"errCode,omitempty"`
|
||||
ErrMsg string `protobuf:"bytes,2,opt,name=errMsg" json:"errMsg,omitempty"`
|
||||
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq" json:"maxSeq,omitempty"`
|
||||
MinSeq int64 `protobuf:"varint,4,opt,name=minSeq" json:"minSeq,omitempty"`
|
||||
SingleUserMsg []*GatherFormat `protobuf:"bytes,5,rep,name=singleUserMsg" json:"singleUserMsg,omitempty"`
|
||||
GroupUserMsg []*GatherFormat `protobuf:"bytes,6,rep,name=groupUserMsg" json:"groupUserMsg,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
@@ -32,7 +34,7 @@ func (m *PullMessageBySeqListResp) Reset() { *m = PullMessageBySeqListRe
|
||||
func (m *PullMessageBySeqListResp) String() string { return proto.CompactTextString(m) }
|
||||
func (*PullMessageBySeqListResp) ProtoMessage() {}
|
||||
func (*PullMessageBySeqListResp) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{0}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{0}
|
||||
}
|
||||
func (m *PullMessageBySeqListResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PullMessageBySeqListResp.Unmarshal(m, b)
|
||||
@@ -52,6 +54,20 @@ func (m *PullMessageBySeqListResp) XXX_DiscardUnknown() {
|
||||
|
||||
var xxx_messageInfo_PullMessageBySeqListResp proto.InternalMessageInfo
|
||||
|
||||
func (m *PullMessageBySeqListResp) GetErrCode() int32 {
|
||||
if m != nil {
|
||||
return m.ErrCode
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *PullMessageBySeqListResp) GetErrMsg() string {
|
||||
if m != nil {
|
||||
return m.ErrMsg
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PullMessageBySeqListResp) GetMaxSeq() int64 {
|
||||
if m != nil {
|
||||
return m.MaxSeq
|
||||
@@ -81,7 +97,9 @@ func (m *PullMessageBySeqListResp) GetGroupUserMsg() []*GatherFormat {
|
||||
}
|
||||
|
||||
type PullMessageBySeqListReq struct {
|
||||
SeqList []int64 `protobuf:"varint,1,rep,packed,name=seqList" json:"seqList,omitempty"`
|
||||
UserID string `protobuf:"bytes,1,opt,name=userID" json:"userID,omitempty"`
|
||||
OperationID string `protobuf:"bytes,2,opt,name=operationID" json:"operationID,omitempty"`
|
||||
SeqList []int64 `protobuf:"varint,3,rep,packed,name=seqList" json:"seqList,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
@@ -91,7 +109,7 @@ 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_a9634e8f434358ba, []int{1}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{1}
|
||||
}
|
||||
func (m *PullMessageBySeqListReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PullMessageBySeqListReq.Unmarshal(m, b)
|
||||
@@ -111,6 +129,20 @@ func (m *PullMessageBySeqListReq) XXX_DiscardUnknown() {
|
||||
|
||||
var xxx_messageInfo_PullMessageBySeqListReq proto.InternalMessageInfo
|
||||
|
||||
func (m *PullMessageBySeqListReq) GetUserID() string {
|
||||
if m != nil {
|
||||
return m.UserID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PullMessageBySeqListReq) GetOperationID() string {
|
||||
if m != nil {
|
||||
return m.OperationID
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *PullMessageBySeqListReq) GetSeqList() []int64 {
|
||||
if m != nil {
|
||||
return m.SeqList
|
||||
@@ -128,7 +160,7 @@ 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_a9634e8f434358ba, []int{2}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{2}
|
||||
}
|
||||
func (m *GetMaxAndMinSeqReq) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetMaxAndMinSeqReq.Unmarshal(m, b)
|
||||
@@ -160,7 +192,7 @@ 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_a9634e8f434358ba, []int{3}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{3}
|
||||
}
|
||||
func (m *GetMaxAndMinSeqResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GetMaxAndMinSeqResp.Unmarshal(m, b)
|
||||
@@ -198,17 +230,17 @@ 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:"-"`
|
||||
List []*MsgData `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_a9634e8f434358ba, []int{4}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{4}
|
||||
}
|
||||
func (m *GatherFormat) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GatherFormat.Unmarshal(m, b)
|
||||
@@ -235,269 +267,13 @@ func (m *GatherFormat) GetID() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *GatherFormat) GetList() []*MsgFormat {
|
||||
func (m *GatherFormat) GetList() []*MsgData {
|
||||
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_a9634e8f434358ba, []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_a9634e8f434358ba, []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"`
|
||||
@@ -511,7 +287,7 @@ 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_a9634e8f434358ba, []int{7}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{5}
|
||||
}
|
||||
func (m *UserSendMsgResp) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UserSendMsgResp.Unmarshal(m, b)
|
||||
@@ -580,7 +356,7 @@ 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_a9634e8f434358ba, []int{8}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{6}
|
||||
}
|
||||
func (m *MsgData) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MsgData.Unmarshal(m, b)
|
||||
@@ -741,7 +517,7 @@ func (m *OfflinePushInfo) Reset() { *m = OfflinePushInfo{} }
|
||||
func (m *OfflinePushInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*OfflinePushInfo) ProtoMessage() {}
|
||||
func (*OfflinePushInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{9}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{7}
|
||||
}
|
||||
func (m *OfflinePushInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_OfflinePushInfo.Unmarshal(m, b)
|
||||
@@ -815,7 +591,7 @@ func (m *GroupInfo) Reset() { *m = GroupInfo{} }
|
||||
func (m *GroupInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*GroupInfo) ProtoMessage() {}
|
||||
func (*GroupInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{10}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{8}
|
||||
}
|
||||
func (m *GroupInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GroupInfo.Unmarshal(m, b)
|
||||
@@ -909,7 +685,7 @@ func (m *GroupMemberFullInfo) Reset() { *m = GroupMemberFullInfo{} }
|
||||
func (m *GroupMemberFullInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*GroupMemberFullInfo) ProtoMessage() {}
|
||||
func (*GroupMemberFullInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{11}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{9}
|
||||
}
|
||||
func (m *GroupMemberFullInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GroupMemberFullInfo.Unmarshal(m, b)
|
||||
@@ -996,7 +772,7 @@ func (m *UserInfo) Reset() { *m = UserInfo{} }
|
||||
func (m *UserInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*UserInfo) ProtoMessage() {}
|
||||
func (*UserInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{12}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{10}
|
||||
}
|
||||
func (m *UserInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UserInfo.Unmarshal(m, b)
|
||||
@@ -1080,7 +856,7 @@ func (m *PublicUserInfo) Reset() { *m = PublicUserInfo{} }
|
||||
func (m *PublicUserInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*PublicUserInfo) ProtoMessage() {}
|
||||
func (*PublicUserInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{13}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{11}
|
||||
}
|
||||
func (m *PublicUserInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_PublicUserInfo.Unmarshal(m, b)
|
||||
@@ -1140,7 +916,7 @@ func (m *TipsComm) Reset() { *m = TipsComm{} }
|
||||
func (m *TipsComm) String() string { return proto.CompactTextString(m) }
|
||||
func (*TipsComm) ProtoMessage() {}
|
||||
func (*TipsComm) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{14}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{12}
|
||||
}
|
||||
func (m *TipsComm) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_TipsComm.Unmarshal(m, b)
|
||||
@@ -1189,7 +965,7 @@ func (m *MemberEnterTips) Reset() { *m = MemberEnterTips{} }
|
||||
func (m *MemberEnterTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*MemberEnterTips) ProtoMessage() {}
|
||||
func (*MemberEnterTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{15}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{13}
|
||||
}
|
||||
func (m *MemberEnterTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MemberEnterTips.Unmarshal(m, b)
|
||||
@@ -1244,7 +1020,7 @@ func (m *MemberLeaveTips) Reset() { *m = MemberLeaveTips{} }
|
||||
func (m *MemberLeaveTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*MemberLeaveTips) ProtoMessage() {}
|
||||
func (*MemberLeaveTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{16}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{14}
|
||||
}
|
||||
func (m *MemberLeaveTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MemberLeaveTips.Unmarshal(m, b)
|
||||
@@ -1299,7 +1075,7 @@ func (m *MemberInvitedTips) Reset() { *m = MemberInvitedTips{} }
|
||||
func (m *MemberInvitedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*MemberInvitedTips) ProtoMessage() {}
|
||||
func (*MemberInvitedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{17}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{15}
|
||||
}
|
||||
func (m *MemberInvitedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MemberInvitedTips.Unmarshal(m, b)
|
||||
@@ -1361,7 +1137,7 @@ func (m *MemberKickedTips) Reset() { *m = MemberKickedTips{} }
|
||||
func (m *MemberKickedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*MemberKickedTips) ProtoMessage() {}
|
||||
func (*MemberKickedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{18}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{16}
|
||||
}
|
||||
func (m *MemberKickedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MemberKickedTips.Unmarshal(m, b)
|
||||
@@ -1424,7 +1200,7 @@ func (m *MemberInfoChangedTips) Reset() { *m = MemberInfoChangedTips{} }
|
||||
func (m *MemberInfoChangedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*MemberInfoChangedTips) ProtoMessage() {}
|
||||
func (*MemberInfoChangedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{19}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{17}
|
||||
}
|
||||
func (m *MemberInfoChangedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MemberInfoChangedTips.Unmarshal(m, b)
|
||||
@@ -1493,7 +1269,7 @@ func (m *GroupCreatedTips) Reset() { *m = GroupCreatedTips{} }
|
||||
func (m *GroupCreatedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*GroupCreatedTips) ProtoMessage() {}
|
||||
func (*GroupCreatedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{20}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{18}
|
||||
}
|
||||
func (m *GroupCreatedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GroupCreatedTips.Unmarshal(m, b)
|
||||
@@ -1554,7 +1330,7 @@ func (m *GroupInfoChangedTips) Reset() { *m = GroupInfoChangedTips{} }
|
||||
func (m *GroupInfoChangedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*GroupInfoChangedTips) ProtoMessage() {}
|
||||
func (*GroupInfoChangedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{21}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{19}
|
||||
}
|
||||
func (m *GroupInfoChangedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_GroupInfoChangedTips.Unmarshal(m, b)
|
||||
@@ -1608,7 +1384,7 @@ func (m *ReceiveJoinApplicationTips) Reset() { *m = ReceiveJoinApplicati
|
||||
func (m *ReceiveJoinApplicationTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*ReceiveJoinApplicationTips) ProtoMessage() {}
|
||||
func (*ReceiveJoinApplicationTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{22}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{20}
|
||||
}
|
||||
func (m *ReceiveJoinApplicationTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ReceiveJoinApplicationTips.Unmarshal(m, b)
|
||||
@@ -1663,7 +1439,7 @@ func (m *ApplicationProcessedTips) Reset() { *m = ApplicationProcessedTi
|
||||
func (m *ApplicationProcessedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*ApplicationProcessedTips) ProtoMessage() {}
|
||||
func (*ApplicationProcessedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{23}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{21}
|
||||
}
|
||||
func (m *ApplicationProcessedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ApplicationProcessedTips.Unmarshal(m, b)
|
||||
@@ -1726,7 +1502,7 @@ func (m *FriendInfo) Reset() { *m = FriendInfo{} }
|
||||
func (m *FriendInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendInfo) ProtoMessage() {}
|
||||
func (*FriendInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{24}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{22}
|
||||
}
|
||||
func (m *FriendInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendInfo.Unmarshal(m, b)
|
||||
@@ -1787,7 +1563,7 @@ func (m *FriendApplication) Reset() { *m = FriendApplication{} }
|
||||
func (m *FriendApplication) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendApplication) ProtoMessage() {}
|
||||
func (*FriendApplication) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{25}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{23}
|
||||
}
|
||||
func (m *FriendApplication) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendApplication.Unmarshal(m, b)
|
||||
@@ -1843,7 +1619,7 @@ func (m *FriendApplicationAddedTips) Reset() { *m = FriendApplicationAdd
|
||||
func (m *FriendApplicationAddedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendApplicationAddedTips) ProtoMessage() {}
|
||||
func (*FriendApplicationAddedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{26}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{24}
|
||||
}
|
||||
func (m *FriendApplicationAddedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendApplicationAddedTips.Unmarshal(m, b)
|
||||
@@ -1906,7 +1682,7 @@ func (m *FriendApplicationProcessedTips) Reset() { *m = FriendApplicatio
|
||||
func (m *FriendApplicationProcessedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendApplicationProcessedTips) ProtoMessage() {}
|
||||
func (*FriendApplicationProcessedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{27}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{25}
|
||||
}
|
||||
func (m *FriendApplicationProcessedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendApplicationProcessedTips.Unmarshal(m, b)
|
||||
@@ -1966,7 +1742,7 @@ func (m *FriendAddedTips) Reset() { *m = FriendAddedTips{} }
|
||||
func (m *FriendAddedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendAddedTips) ProtoMessage() {}
|
||||
func (*FriendAddedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{28}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{26}
|
||||
}
|
||||
func (m *FriendAddedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendAddedTips.Unmarshal(m, b)
|
||||
@@ -2012,7 +1788,7 @@ func (m *FriendDeletedTips) Reset() { *m = FriendDeletedTips{} }
|
||||
func (m *FriendDeletedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendDeletedTips) ProtoMessage() {}
|
||||
func (*FriendDeletedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{29}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{27}
|
||||
}
|
||||
func (m *FriendDeletedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendDeletedTips.Unmarshal(m, b)
|
||||
@@ -2059,7 +1835,7 @@ func (m *BlackInfo) Reset() { *m = BlackInfo{} }
|
||||
func (m *BlackInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*BlackInfo) ProtoMessage() {}
|
||||
func (*BlackInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{30}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{28}
|
||||
}
|
||||
func (m *BlackInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BlackInfo.Unmarshal(m, b)
|
||||
@@ -2112,7 +1888,7 @@ func (m *BlackAddedTips) Reset() { *m = BlackAddedTips{} }
|
||||
func (m *BlackAddedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*BlackAddedTips) ProtoMessage() {}
|
||||
func (*BlackAddedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{31}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{29}
|
||||
}
|
||||
func (m *BlackAddedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BlackAddedTips.Unmarshal(m, b)
|
||||
@@ -2158,7 +1934,7 @@ func (m *BlackDeletedTips) Reset() { *m = BlackDeletedTips{} }
|
||||
func (m *BlackDeletedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*BlackDeletedTips) ProtoMessage() {}
|
||||
func (*BlackDeletedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{32}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{30}
|
||||
}
|
||||
func (m *BlackDeletedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_BlackDeletedTips.Unmarshal(m, b)
|
||||
@@ -2205,7 +1981,7 @@ func (m *FriendInfoChangedTips) Reset() { *m = FriendInfoChangedTips{} }
|
||||
func (m *FriendInfoChangedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*FriendInfoChangedTips) ProtoMessage() {}
|
||||
func (*FriendInfoChangedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{33}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{31}
|
||||
}
|
||||
func (m *FriendInfoChangedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FriendInfoChangedTips.Unmarshal(m, b)
|
||||
@@ -2260,7 +2036,7 @@ func (m *SelfInfoUpdatedTips) Reset() { *m = SelfInfoUpdatedTips{} }
|
||||
func (m *SelfInfoUpdatedTips) String() string { return proto.CompactTextString(m) }
|
||||
func (*SelfInfoUpdatedTips) ProtoMessage() {}
|
||||
func (*SelfInfoUpdatedTips) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_ws_a9634e8f434358ba, []int{34}
|
||||
return fileDescriptor_ws_9a4768ae4ab79d99, []int{32}
|
||||
}
|
||||
func (m *SelfInfoUpdatedTips) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SelfInfoUpdatedTips.Unmarshal(m, b)
|
||||
@@ -2307,9 +2083,6 @@ func init() {
|
||||
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")
|
||||
proto.RegisterMapType((map[string]bool)(nil), "open_im_sdk.MsgData.OptionsEntry")
|
||||
@@ -2341,124 +2114,114 @@ func init() {
|
||||
proto.RegisterType((*SelfInfoUpdatedTips)(nil), "open_im_sdk.SelfInfoUpdatedTips")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("sdk_ws/ws.proto", fileDescriptor_ws_a9634e8f434358ba) }
|
||||
func init() { proto.RegisterFile("sdk_ws/ws.proto", fileDescriptor_ws_9a4768ae4ab79d99) }
|
||||
|
||||
var fileDescriptor_ws_a9634e8f434358ba = []byte{
|
||||
// 1855 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x59, 0x5f, 0x6f, 0xdc, 0x5a,
|
||||
0x11, 0x97, 0xf7, 0x5f, 0xb2, 0xb3, 0x69, 0x92, 0xba, 0x6d, 0xae, 0x29, 0x57, 0x55, 0xb0, 0x10,
|
||||
0x8a, 0xae, 0xae, 0x52, 0x91, 0x08, 0x71, 0xdb, 0x2b, 0xe0, 0x26, 0xd9, 0x24, 0xda, 0xd2, 0x34,
|
||||
0x91, 0xb7, 0x15, 0x12, 0x2f, 0x95, 0x6b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0f, 0x61, 0x15, 0x63, 0x7d, 0x19, 0x44, 0xcc, 0x5a, 0x25, 0xb8, 0x90, 0xcd, 0xcf,
|
||||
0x60, 0x13, 0x9f, 0x59, 0x7a, 0x11, 0xba, 0xd9, 0x20, 0x49, 0xa3, 0x5e, 0xd7, 0x6a, 0x53, 0x40,
|
||||
0x15, 0xdc, 0xfc, 0x0e, 0xac, 0x0b, 0xec, 0x45, 0xe0, 0x8d, 0x5e, 0xb8, 0x11, 0xb3, 0x80, 0x5c,
|
||||
0xcf, 0xa0, 0xe6, 0xb7, 0xe1, 0x8e, 0x40, 0x4e, 0x5c, 0x8f, 0xbd, 0x72, 0x9e, 0x5b, 0x1d, 0x52,
|
||||
0xd3, 0x41, 0xaa, 0x42, 0x18, 0xb0, 0x38, 0x13, 0x39, 0xae, 0x89, 0x1c, 0x15, 0xc8, 0xfe, 0x5b,
|
||||
0x1d, 0xd6, 0x91, 0x69, 0x68, 0x77, 0xc6, 0x87, 0xc8, 0xaa, 0x43, 0x58, 0x39, 0x1f, 0x67, 0x41,
|
||||
0x12, 0x73, 0x62, 0x55, 0x67, 0x6f, 0x47, 0xeb, 0xa0, 0xae, 0xbd, 0x2b, 0x55, 0x8f, 0xe3, 0x2c,
|
||||
0x7d, 0xef, 0xe4, 0x86, 0x73, 0xd2, 0xa8, 0x2d, 0x96, 0x46, 0x7d, 0x5e, 0x1a, 0x8f, 0x00, 0x94,
|
||||
0xd2, 0x89, 0x5e, 0x2a, 0x88, 0x68, 0x25, 0xe7, 0x41, 0x12, 0x53, 0xb3, 0x9b, 0xa2, 0xd9, 0x0a,
|
||||
0xa4, 0x12, 0xa5, 0x75, 0x2d, 0x51, 0x56, 0xaa, 0x44, 0x29, 0xc9, 0xb7, 0xaa, 0x91, 0xef, 0x53,
|
||||
0x68, 0x9f, 0x24, 0xa9, 0xc7, 0x88, 0xeb, 0xed, 0xed, 0xfa, 0x4e, 0xdb, 0x29, 0x01, 0x95, 0x3c,
|
||||
0xa0, 0x93,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, 0xdc, 0xeb, 0xb3, 0x70, 0x80, 0xa6, 0xaf, 0xc6, 0x7e, 0x71, 0x67,
|
||||
0x79, 0x02, 0x6b, 0x08, 0xe7, 0xa7, 0x5e, 0xbf, 0xdd, 0x35, 0xd5, 0x0f, 0x18, 0xed, 0xe1, 0xd6,
|
||||
0x4f, 0xef, 0xef, 0x3e, 0x16, 0xff, 0xe5, 0xf9, 0x52, 0x39, 0xf4, 0x4d, 0x8b, 0xfe, 0xdf, 0xb3,
|
||||
0xff, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x45, 0x72, 0x9b, 0x6e, 0x02, 0x1a, 0x00, 0x00,
|
||||
var fileDescriptor_ws_9a4768ae4ab79d99 = []byte{
|
||||
// 1690 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x5b, 0x6f, 0x1b, 0x45,
|
||||
0x14, 0xd6, 0xfa, 0x96, 0xf8, 0xd8, 0xb9, 0x74, 0x9b, 0xa6, 0x4b, 0xa8, 0x2a, 0xb3, 0x42, 0xc8,
|
||||
0x42, 0x55, 0x2a, 0x12, 0x21, 0x9a, 0x22, 0xa0, 0x49, 0x9c, 0x04, 0x43, 0x5c, 0x47, 0xeb, 0x44,
|
||||
0x3c, 0x56, 0x1b, 0xef, 0xd8, 0x59, 0xbc, 0x17, 0x67, 0x66, 0xed, 0x36, 0xbf, 0x04, 0x09, 0x09,
|
||||
0x09, 0xc4, 0x03, 0x42, 0xbc, 0x20, 0x84, 0xf8, 0x15, 0xfc, 0x0a, 0x04, 0x8f, 0xbc, 0xf0, 0x0a,
|
||||
0x0f, 0x68, 0xce, 0xcc, 0xee, 0xce, 0xc6, 0x21, 0x71, 0x82, 0xda, 0xb7, 0x3d, 0x9f, 0xcf, 0x99,
|
||||
0xf3, 0x9d, 0xeb, 0xce, 0x1a, 0x16, 0x98, 0x33, 0x78, 0xf6, 0x9c, 0x3d, 0x7c, 0xce, 0x56, 0x87,
|
||||
0x34, 0x8c, 0x42, 0xbd, 0x12, 0x0e, 0x49, 0xf0, 0xcc, 0xf5, 0x9f, 0x31, 0x67, 0x60, 0xfe, 0xa3,
|
||||
0x81, 0x71, 0x30, 0xf2, 0xbc, 0x16, 0x61, 0xcc, 0xee, 0x93, 0xad, 0xb3, 0x0e, 0x39, 0xdd, 0x77,
|
||||
0x59, 0x64, 0x11, 0x36, 0xd4, 0x0d, 0x98, 0x21, 0x94, 0x6e, 0x87, 0x0e, 0x31, 0xb4, 0x9a, 0x56,
|
||||
0x2f, 0x5a, 0xb1, 0xa8, 0x2f, 0x43, 0x89, 0x50, 0xda, 0x62, 0x7d, 0x23, 0x57, 0xd3, 0xea, 0x65,
|
||||
0x4b, 0x4a, 0x1c, 0xf7, 0xed, 0x17, 0x1d, 0x72, 0x6a, 0xe4, 0x6b, 0x5a, 0x3d, 0x6f, 0x49, 0x09,
|
||||
0x71, 0x37, 0xe0, 0x78, 0x41, 0xe2, 0x28, 0xe9, 0x1f, 0xc1, 0x1c, 0x73, 0x83, 0xbe, 0x47, 0x8e,
|
||||
0x18, 0xc1, 0xe3, 0x8a, 0xb5, 0x7c, 0xbd, 0xb2, 0xf6, 0xda, 0xaa, 0xc2, 0x71, 0x75, 0xcf, 0x8e,
|
||||
0x4e, 0x08, 0xdd, 0x0d, 0xa9, 0x6f, 0x47, 0x56, 0x56, 0x5f, 0xff, 0x00, 0xaa, 0x7d, 0x1a, 0x8e,
|
||||
0x86, 0xb1, 0x7d, 0xe9, 0x2a, 0xfb, 0x8c, 0xba, 0xe9, 0xc3, 0xdd, 0x8b, 0xa3, 0x47, 0xca, 0x23,
|
||||
0x46, 0x68, 0xb3, 0x81, 0xb1, 0x97, 0x2d, 0x29, 0xe9, 0x35, 0xe0, 0x09, 0xa4, 0x76, 0xe4, 0x86,
|
||||
0x41, 0xb3, 0x21, 0xe3, 0x57, 0x21, 0x9e, 0x36, 0x26, 0xce, 0x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0xbd, 0x90, 0xfa, 0xcd, 0x86, 0x51, 0xc2,
|
||||
0x69, 0x98, 0xc0, 0xf5, 0xb7, 0x60, 0x5e, 0x60, 0x4f, 0xdd, 0xee, 0xe0, 0xa9, 0xed, 0x13, 0x63,
|
||||
0x06, 0x0f, 0x3c, 0x87, 0xea, 0x6f, 0xc2, 0x9c, 0x40, 0x76, 0xed, 0x2e, 0x39, 0xb2, 0xf6, 0x8d,
|
||||
0x59, 0x54, 0xcb, 0x82, 0x82, 0x1b, 0x63, 0x6e, 0x18, 0x1c, 0x9e, 0x0d, 0x89, 0x51, 0x46, 0xa7,
|
||||
0x2a, 0xc4, 0x23, 0xf7, 0x59, 0x7f, 0x97, 0x86, 0xbe, 0x01, 0x62, 0x40, 0xa5, 0x88, 0x91, 0x87,
|
||||
0x41, 0x44, 0x82, 0x08, 0x6d, 0x2b, 0xc2, 0x56, 0x81, 0xb8, 0xad, 0x14, 0x8d, 0x6a, 0x4d, 0xab,
|
||||
0x57, 0xad, 0x58, 0xd4, 0xef, 0x41, 0xb9, 0x17, 0xd2, 0x2e, 0xc1, 0x6e, 0x99, 0xab, 0xe5, 0xeb,
|
||||
0x65, 0x2b, 0x05, 0xf4, 0x45, 0xc8, 0x33, 0x72, 0x6a, 0xcc, 0x63, 0x01, 0xf9, 0x63, 0xa6, 0xae,
|
||||
0x0b, 0xd9, 0xba, 0xea, 0xf7, 0x01, 0xba, 0x94, 0xd8, 0x11, 0xc1, 0x5f, 0x17, 0xf1, 0x57, 0x05,
|
||||
0xd1, 0xdf, 0x87, 0x99, 0xf6, 0x90, 0xcf, 0x0d, 0x33, 0x6e, 0x61, 0x5f, 0xbe, 0x71, 0x51, 0x5f,
|
||||
0xae, 0x4a, 0x9d, 0x9d, 0x20, 0xa2, 0x67, 0x56, 0x6c, 0xa1, 0xef, 0xc2, 0x42, 0xd8, 0xeb, 0x79,
|
||||
0x6e, 0x40, 0x0e, 0x46, 0xec, 0xa4, 0x19, 0xf4, 0x42, 0x43, 0xaf, 0x69, 0xf5, 0xca, 0xda, 0xbd,
|
||||
0xcc, 0x21, 0xed, 0xac, 0x8e, 0x75, 0xde, 0x68, 0xe5, 0x31, 0x54, 0x55, 0x07, 0x3c, 0xc4, 0x01,
|
||||
0x39, 0x93, 0xdd, 0xc7, 0x1f, 0xf5, 0x25, 0x28, 0x8e, 0x6d, 0x6f, 0x44, 0xb0, 0xf3, 0x66, 0x2d,
|
||||
0x21, 0x3c, 0xce, 0x3d, 0xd2, 0xcc, 0x2f, 0x34, 0x58, 0x38, 0xe7, 0x80, 0x6b, 0x1f, 0xba, 0x91,
|
||||
0x47, 0xe4, 0x09, 0x42, 0xd0, 0x75, 0x28, 0x34, 0x08, 0xeb, 0xca, 0xe6, 0xc5, 0x67, 0xee, 0x69,
|
||||
0xe7, 0x45, 0x24, 0xdb, 0x96, 0x3f, 0xea, 0x26, 0x54, 0xdd, 0x76, 0x87, 0x1f, 0xd5, 0x09, 0x47,
|
||||
0x81, 0x23, 0x7b, 0x36, 0x83, 0xf1, 0xf6, 0x71, 0xdb, 0x9d, 0x2d, 0xdb, 0xe9, 0x93, 0xed, 0x70,
|
||||
0x14, 0x44, 0xd8, 0xb6, 0xb3, 0x56, 0x16, 0x34, 0xbf, 0xcc, 0x41, 0x79, 0x0f, 0x07, 0x81, 0x73,
|
||||
0x32, 0x60, 0x66, 0x4f, 0x0e, 0x89, 0x60, 0x15, 0x8b, 0xbc, 0xdc, 0xf8, 0x88, 0xfd, 0x2a, 0xc8,
|
||||
0xa5, 0x00, 0xe7, 0xf3, 0x34, 0x8c, 0xdc, 0x9e, 0xdb, 0xc5, 0xf5, 0x26, 0xa9, 0x66, 0x30, 0xae,
|
||||
0xd3, 0x0c, 0x22, 0x1a, 0x3a, 0xa3, 0x2e, 0xea, 0x48, 0xce, 0x2a, 0xc6, 0xfd, 0x63, 0x5f, 0x53,
|
||||
0x4f, 0x0e, 0x59, 0x2c, 0xea, 0xef, 0x40, 0xb1, 0xfd, 0x3c, 0x20, 0x14, 0xa7, 0xaa, 0xb2, 0xf6,
|
||||
0x7a, 0xa6, 0x76, 0x07, 0xa3, 0x63, 0xcf, 0xed, 0xf2, 0x6d, 0x84, 0xa5, 0x13, 0x9a, 0xbc, 0xab,
|
||||
0xb6, 0xd3, 0xae, 0xe2, 0x33, 0x56, 0xb0, 0x14, 0x84, 0x77, 0x7f, 0x8b, 0xf8, 0xc7, 0x84, 0x8a,
|
||||
0xf4, 0xf0, 0xe9, 0x9a, 0xb3, 0x54, 0xc8, 0xfc, 0x53, 0x83, 0xdb, 0x18, 0xa4, 0x00, 0x77, 0x47,
|
||||
0x9e, 0x77, 0x45, 0x9a, 0x96, 0xa1, 0x74, 0x24, 0xde, 0x07, 0x72, 0xfb, 0x08, 0x49, 0x5f, 0x05,
|
||||
0x7d, 0xd3, 0xf1, 0xdd, 0xc0, 0x65, 0x11, 0xb5, 0xa3, 0x90, 0xee, 0x93, 0x31, 0xf1, 0x30, 0x4d,
|
||||
0x45, 0xeb, 0x82, 0x5f, 0xf8, 0xb4, 0x7c, 0x12, 0xba, 0x01, 0x32, 0x2f, 0x20, 0xf3, 0x44, 0xe6,
|
||||
0xbf, 0x25, 0x9b, 0x43, 0x64, 0x29, 0x91, 0xd5, 0x04, 0x96, 0xb2, 0x09, 0x34, 0xa1, 0xba, 0x4b,
|
||||
0x5d, 0x12, 0x38, 0x16, 0xf1, 0x6d, 0x3a, 0x90, 0x3b, 0x27, 0x83, 0x99, 0x3f, 0x6b, 0x30, 0x1b,
|
||||
0x67, 0x51, 0x09, 0x45, 0xcb, 0x84, 0x22, 0xdd, 0x07, 0x69, 0x23, 0x24, 0xb2, 0xea, 0x3e, 0x9f,
|
||||
0x75, 0xbf, 0x0c, 0xa5, 0x3d, 0xdc, 0x5b, 0x18, 0x4e, 0xd1, 0x92, 0x12, 0xc7, 0x5b, 0xe1, 0xb1,
|
||||
0xeb, 0xc5, 0xa1, 0x48, 0x89, 0x4f, 0xc7, 0x96, 0x4b, 0xa3, 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 0x86, 0x83, 0x68, 0xe9, 0x03, 0x17, 0x00, 0x00,
|
||||
}
|
||||
|
||||
+52
-47
@@ -1,16 +1,34 @@
|
||||
syntax = "proto3";
|
||||
package open_im_sdk;//The package name to which the proto file belongs
|
||||
option go_package = "./sdk_ws;open_im_sdk";//The generated go pb file is in the current directory, and the package name is open_im_sdk
|
||||
//option go_package = "./sdk_ws;open_im_sdk";//The generated go pb file is in the current directory, and the package name is open_im_sdk
|
||||
|
||||
|
||||
message PullMessageBySeqListResp {
|
||||
int64 MaxSeq = 1;
|
||||
int64 MinSeq = 2;
|
||||
repeated GatherFormat SingleUserMsg = 3;
|
||||
repeated GatherFormat GroupUserMsg = 4;
|
||||
int32 errCode = 1;
|
||||
string errMsg = 2;
|
||||
int64 maxSeq = 3;
|
||||
int64 minSeq = 4;
|
||||
repeated GatherFormat singleUserMsg = 5;
|
||||
repeated GatherFormat groupUserMsg = 6;
|
||||
}
|
||||
message PullMessageBySeqListReq{
|
||||
repeated int64 seqList =1;
|
||||
string userID = 1;
|
||||
string operationID = 2;
|
||||
repeated int64 seqList =3;
|
||||
}
|
||||
message PullMessageReq {
|
||||
string userID = 1;
|
||||
int64 seqBegin = 2;
|
||||
int64 seqEnd = 3;
|
||||
string operationID = 4;
|
||||
}
|
||||
message PullMessageResp {
|
||||
int32 errCode = 1;
|
||||
string errMsg = 2;
|
||||
int64 maxSeq = 3;
|
||||
int64 minSeq = 4;
|
||||
repeated GatherFormat singleUserMsg = 5;
|
||||
repeated GatherFormat groupUserMsg = 6;
|
||||
}
|
||||
message GetMaxAndMinSeqReq {
|
||||
}
|
||||
@@ -20,50 +38,37 @@ message GetMaxAndMinSeqResp {
|
||||
}
|
||||
message GatherFormat{
|
||||
// @inject_tag: json:"id"
|
||||
string ID = 1;
|
||||
string id = 1;
|
||||
// @inject_tag: json:"list"
|
||||
repeated MsgFormat List = 2;//detail msg
|
||||
}
|
||||
message MsgFormat{
|
||||
// @inject_tag: json:"sendID"
|
||||
string SendID = 1;
|
||||
// @inject_tag: json:"recvID"
|
||||
string RecvID = 2;
|
||||
// @inject_tag: json:"msgFrom"
|
||||
int32 MsgFrom = 3;
|
||||
// @inject_tag: json:"contentType"
|
||||
int32 ContentType = 4;
|
||||
// @inject_tag: json:"serverMsgID"
|
||||
string ServerMsgID = 5;
|
||||
// @inject_tag: json:"content"
|
||||
string Content = 6;
|
||||
// @inject_tag: json:"seq"
|
||||
int64 Seq = 7;
|
||||
// @inject_tag: json:"sendTime"
|
||||
int64 SendTime = 8;
|
||||
// @inject_tag: json:"senderPlatformID"
|
||||
int32 SenderPlatformID = 9;
|
||||
// @inject_tag: json:"senderNickName"
|
||||
string SenderNickName = 10;
|
||||
// @inject_tag: json:"senderFaceUrl"
|
||||
string SenderFaceURL = 11;
|
||||
// @inject_tag: json:"clientMsgID"
|
||||
string ClientMsgID = 12;
|
||||
repeated MsgData list = 2;//detail msg
|
||||
}
|
||||
//message MsgFormat{
|
||||
// // @inject_tag: json:"sendID"
|
||||
// string SendID = 1;
|
||||
// // @inject_tag: json:"recvID"
|
||||
// string RecvID = 2;
|
||||
// // @inject_tag: json:"msgFrom"
|
||||
// int32 MsgFrom = 3;
|
||||
// // @inject_tag: json:"contentType"
|
||||
// int32 ContentType = 4;
|
||||
// // @inject_tag: json:"serverMsgID"
|
||||
// string ServerMsgID = 5;
|
||||
// // @inject_tag: json:"content"
|
||||
// string Content = 6;
|
||||
// // @inject_tag: json:"seq"
|
||||
// int64 Seq = 7;
|
||||
// // @inject_tag: json:"sendTime"
|
||||
// int64 SendTime = 8;
|
||||
// // @inject_tag: json:"senderPlatformID"
|
||||
// int32 SenderPlatformID = 9;
|
||||
// // @inject_tag: json:"senderNickName"
|
||||
// string SenderNickName = 10;
|
||||
// // @inject_tag: json:"senderFaceUrl"
|
||||
// string SenderFaceURL = 11;
|
||||
// // @inject_tag: json:"clientMsgID"
|
||||
// string ClientMsgID = 12;
|
||||
//}
|
||||
|
||||
message UserSendMsgReq {
|
||||
map<string,int32> Options= 1;
|
||||
string SenderNickName = 2;
|
||||
string SenderFaceURL = 3;
|
||||
int32 PlatformID = 4;
|
||||
int32 SessionType = 5;
|
||||
int32 MsgFrom = 6;
|
||||
int32 ContentType = 7;
|
||||
string RecvID = 8;
|
||||
repeated string ForceList = 9;
|
||||
string Content = 10;
|
||||
string ClientMsgID = 11;
|
||||
}
|
||||
|
||||
message UserSendMsgResp {
|
||||
string ServerMsgID = 1;
|
||||
|
||||
+3
-3
@@ -115,12 +115,12 @@ func JsonStringToMap(str string) (tempMap map[string]int32) {
|
||||
_ = json.Unmarshal([]byte(str), &tempMap)
|
||||
return tempMap
|
||||
}
|
||||
func GetSwitchFromOptions(Options map[string]int32, key string) (result bool) {
|
||||
if flag, ok := Options[key]; !ok || flag == 1 {
|
||||
func GetSwitchFromOptions(Options map[string]bool, key string) (result bool) {
|
||||
if flag, ok := Options[key]; !ok || flag {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
func SetSwitchFromOptions(Options map[string]int32, key string, value int32) {
|
||||
func SetSwitchFromOptions(Options map[string]bool, key string, value bool) {
|
||||
Options[key] = value
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user