feat: regenerate pb file
This commit is contained in:
+39
-21
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: auth/auth.proto
|
// source: auth/auth.proto
|
||||||
|
|
||||||
@@ -8,14 +22,14 @@ package auth
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
proto "github.com/golang/protobuf/proto"
|
||||||
sync "sync"
|
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -25,14 +39,18 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type UserTokenReq struct {
|
type UserTokenReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret"`
|
Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserTokenReq) Reset() {
|
func (x *UserTokenReq) Reset() {
|
||||||
@@ -93,8 +111,8 @@ type UserTokenResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
ExpireTimeSeconds int64 `protobuf:"varint,3,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
ExpireTimeSeconds int64 `protobuf:"varint,3,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserTokenResp) Reset() {
|
func (x *UserTokenResp) Reset() {
|
||||||
@@ -148,8 +166,8 @@ type ForceLogoutReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ForceLogoutReq) Reset() {
|
func (x *ForceLogoutReq) Reset() {
|
||||||
@@ -241,7 +259,7 @@ type ParseTokenReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ParseTokenReq) Reset() {
|
func (x *ParseTokenReq) Reset() {
|
||||||
@@ -288,9 +306,9 @@ type ParseTokenResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
|
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
|
||||||
ExpireTimeSeconds int64 `protobuf:"varint,4,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
ExpireTimeSeconds int64 `protobuf:"varint,4,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ParseTokenResp) Reset() {
|
func (x *ParseTokenResp) Reset() {
|
||||||
@@ -547,11 +565,11 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type AuthClient interface {
|
type AuthClient interface {
|
||||||
// 生成token
|
//生成token
|
||||||
UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error)
|
UserToken(ctx context.Context, in *UserTokenReq, opts ...grpc.CallOption) (*UserTokenResp, error)
|
||||||
// 强制退出登录
|
//强制退出登录
|
||||||
ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error)
|
ForceLogout(ctx context.Context, in *ForceLogoutReq, opts ...grpc.CallOption) (*ForceLogoutResp, error)
|
||||||
// 解析token
|
//解析token
|
||||||
ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error)
|
ParseToken(ctx context.Context, in *ParseTokenReq, opts ...grpc.CallOption) (*ParseTokenResp, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -592,11 +610,11 @@ func (c *authClient) ParseToken(ctx context.Context, in *ParseTokenReq, opts ...
|
|||||||
|
|
||||||
// AuthServer is the server API for Auth service.
|
// AuthServer is the server API for Auth service.
|
||||||
type AuthServer interface {
|
type AuthServer interface {
|
||||||
// 生成token
|
//生成token
|
||||||
UserToken(context.Context, *UserTokenReq) (*UserTokenResp, error)
|
UserToken(context.Context, *UserTokenReq) (*UserTokenResp, error)
|
||||||
// 强制退出登录
|
//强制退出登录
|
||||||
ForceLogout(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error)
|
ForceLogout(context.Context, *ForceLogoutReq) (*ForceLogoutResp, error)
|
||||||
// 解析token
|
//解析token
|
||||||
ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error)
|
ParseToken(context.Context, *ParseTokenReq) (*ParseTokenResp, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: conversation/conversation.proto
|
// source: conversation/conversation.proto
|
||||||
|
|
||||||
@@ -8,16 +22,15 @@ package conversation
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
||||||
sync "sync"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -27,28 +40,32 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type Conversation struct {
|
type Conversation struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt,omitempty"`
|
||||||
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType"`
|
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType,omitempty"`
|
||||||
UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,6,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,6,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
IsPinned bool `protobuf:"varint,7,opt,name=isPinned,proto3" json:"isPinned"`
|
IsPinned bool `protobuf:"varint,7,opt,name=isPinned,proto3" json:"isPinned,omitempty"`
|
||||||
AttachedInfo string `protobuf:"bytes,8,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo string `protobuf:"bytes,8,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`
|
||||||
IsPrivateChat bool `protobuf:"varint,9,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
IsPrivateChat bool `protobuf:"varint,9,opt,name=isPrivateChat,proto3" json:"isPrivateChat,omitempty"`
|
||||||
GroupAtType int32 `protobuf:"varint,10,opt,name=groupAtType,proto3" json:"groupAtType"`
|
GroupAtType int32 `protobuf:"varint,10,opt,name=groupAtType,proto3" json:"groupAtType,omitempty"`
|
||||||
Ex string `protobuf:"bytes,11,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,11,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
BurnDuration int32 `protobuf:"varint,12,opt,name=burnDuration,proto3" json:"burnDuration"`
|
BurnDuration int32 `protobuf:"varint,12,opt,name=burnDuration,proto3" json:"burnDuration,omitempty"`
|
||||||
MinSeq int64 `protobuf:"varint,13,opt,name=minSeq,proto3" json:"minSeq"`
|
MinSeq int64 `protobuf:"varint,13,opt,name=minSeq,proto3" json:"minSeq,omitempty"`
|
||||||
MaxSeq int64 `protobuf:"varint,14,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,14,opt,name=maxSeq,proto3" json:"maxSeq,omitempty"`
|
||||||
MsgDestructTime int64 `protobuf:"varint,15,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
MsgDestructTime int64 `protobuf:"varint,15,opt,name=msgDestructTime,proto3" json:"msgDestructTime,omitempty"`
|
||||||
LatestMsgDestructTime int64 `protobuf:"varint,16,opt,name=latestMsgDestructTime,proto3" json:"latestMsgDestructTime"`
|
LatestMsgDestructTime int64 `protobuf:"varint,16,opt,name=latestMsgDestructTime,proto3" json:"latestMsgDestructTime,omitempty"`
|
||||||
IsMsgDestruct bool `protobuf:"varint,17,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
IsMsgDestruct bool `protobuf:"varint,17,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Conversation) Reset() {
|
func (x *Conversation) Reset() {
|
||||||
@@ -207,21 +224,21 @@ type ConversationReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
ConversationType int32 `protobuf:"varint,2,opt,name=conversationType,proto3" json:"conversationType"`
|
ConversationType int32 `protobuf:"varint,2,opt,name=conversationType,proto3" json:"conversationType,omitempty"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
RecvMsgOpt *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt,omitempty"`
|
||||||
IsPinned *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=isPinned,proto3" json:"isPinned"`
|
IsPinned *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=isPinned,proto3" json:"isPinned,omitempty"`
|
||||||
AttachedInfo *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`
|
||||||
IsPrivateChat *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
IsPrivateChat *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=isPrivateChat,proto3" json:"isPrivateChat,omitempty"`
|
||||||
Ex *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
BurnDuration *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=burnDuration,proto3" json:"burnDuration"`
|
BurnDuration *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=burnDuration,proto3" json:"burnDuration,omitempty"`
|
||||||
MinSeq *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=minSeq,proto3" json:"minSeq"`
|
MinSeq *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=minSeq,proto3" json:"minSeq,omitempty"`
|
||||||
MaxSeq *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=maxSeq,proto3" json:"maxSeq,omitempty"`
|
||||||
GroupAtType *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=groupAtType,proto3" json:"groupAtType"`
|
GroupAtType *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=groupAtType,proto3" json:"groupAtType,omitempty"`
|
||||||
MsgDestructTime *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
MsgDestructTime *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=msgDestructTime,proto3" json:"msgDestructTime,omitempty"`
|
||||||
IsMsgDestruct *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
IsMsgDestruct *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationReq) Reset() {
|
func (x *ConversationReq) Reset() {
|
||||||
@@ -366,7 +383,7 @@ type SetConversationReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationReq) Reset() {
|
func (x *SetConversationReq) Reset() {
|
||||||
@@ -451,8 +468,8 @@ type GetConversationReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationReq) Reset() {
|
func (x *GetConversationReq) Reset() {
|
||||||
@@ -506,7 +523,7 @@ type GetConversationResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationResp) Reset() {
|
func (x *GetConversationResp) Reset() {
|
||||||
@@ -553,8 +570,8 @@ type GetConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsReq) Reset() {
|
func (x *GetConversationsReq) Reset() {
|
||||||
@@ -608,7 +625,7 @@ type GetConversationsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsResp) Reset() {
|
func (x *GetConversationsResp) Reset() {
|
||||||
@@ -655,7 +672,7 @@ type GetAllConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllConversationsReq) Reset() {
|
func (x *GetAllConversationsReq) Reset() {
|
||||||
@@ -702,7 +719,7 @@ type GetAllConversationsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllConversationsResp) Reset() {
|
func (x *GetAllConversationsResp) Reset() {
|
||||||
@@ -749,7 +766,7 @@ type GetRecvMsgNotNotifyUserIDsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetRecvMsgNotNotifyUserIDsReq) Reset() {
|
func (x *GetRecvMsgNotNotifyUserIDsReq) Reset() {
|
||||||
@@ -796,7 +813,7 @@ type GetRecvMsgNotNotifyUserIDsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetRecvMsgNotNotifyUserIDsResp) Reset() {
|
func (x *GetRecvMsgNotNotifyUserIDsResp) Reset() {
|
||||||
@@ -843,8 +860,8 @@ type CreateSingleChatConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
RecvID string `protobuf:"bytes,1,opt,name=recvID,proto3" json:"recvID"`
|
RecvID string `protobuf:"bytes,1,opt,name=recvID,proto3" json:"recvID,omitempty"`
|
||||||
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID"`
|
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateSingleChatConversationsReq) Reset() {
|
func (x *CreateSingleChatConversationsReq) Reset() {
|
||||||
@@ -936,8 +953,8 @@ type CreateGroupChatConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateGroupChatConversationsReq) Reset() {
|
func (x *CreateGroupChatConversationsReq) Reset() {
|
||||||
@@ -1029,9 +1046,9 @@ type SetConversationMaxSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
OwnerUserID []string `protobuf:"bytes,2,rep,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID []string `protobuf:"bytes,2,rep,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq,proto3" json:"maxSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationMaxSeqReq) Reset() {
|
func (x *SetConversationMaxSeqReq) Reset() {
|
||||||
@@ -1130,7 +1147,7 @@ type GetConversationIDsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationIDsReq) Reset() {
|
func (x *GetConversationIDsReq) Reset() {
|
||||||
@@ -1177,7 +1194,7 @@ type GetConversationIDsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationIDsResp) Reset() {
|
func (x *GetConversationIDsResp) Reset() {
|
||||||
@@ -1224,8 +1241,8 @@ type SetConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
Conversation *ConversationReq `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *ConversationReq `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationsReq) Reset() {
|
func (x *SetConversationsReq) Reset() {
|
||||||
@@ -1317,7 +1334,7 @@ type GetUserConversationIDsHashReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserConversationIDsHashReq) Reset() {
|
func (x *GetUserConversationIDsHashReq) Reset() {
|
||||||
@@ -1364,7 +1381,7 @@ type GetUserConversationIDsHashResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Hash uint64 `protobuf:"varint,1,opt,name=hash,proto3" json:"hash"`
|
Hash uint64 `protobuf:"varint,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserConversationIDsHashResp) Reset() {
|
func (x *GetUserConversationIDsHashResp) Reset() {
|
||||||
@@ -1411,7 +1428,7 @@ type GetConversationsByConversationIDReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsByConversationIDReq) Reset() {
|
func (x *GetConversationsByConversationIDReq) Reset() {
|
||||||
@@ -1458,7 +1475,7 @@ type GetConversationsByConversationIDResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsByConversationIDResp) Reset() {
|
func (x *GetConversationsByConversationIDResp) Reset() {
|
||||||
|
|||||||
@@ -1,17 +1,31 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: errinfo/errinfo.proto
|
// source: errinfo/errinfo.proto
|
||||||
|
|
||||||
package errinfo
|
package errinfo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
proto "github.com/golang/protobuf/proto"
|
||||||
sync "sync"
|
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -21,16 +35,20 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type ErrorInfo struct {
|
type ErrorInfo struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path"`
|
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
|
||||||
Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line"`
|
Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line,omitempty"`
|
||||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause,omitempty"`
|
||||||
Warp []string `protobuf:"bytes,5,rep,name=warp,proto3" json:"warp"`
|
Warp []string `protobuf:"bytes,5,rep,name=warp,proto3" json:"warp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ErrorInfo) Reset() {
|
func (x *ErrorInfo) Reset() {
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: friend/friend.proto
|
// source: friend/friend.proto
|
||||||
|
|
||||||
@@ -8,16 +22,15 @@ package friend
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
sync "sync"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -27,13 +40,17 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type GetPaginationFriendsReq struct {
|
type GetPaginationFriendsReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsReq) Reset() {
|
func (x *GetPaginationFriendsReq) Reset() {
|
||||||
@@ -87,8 +104,8 @@ type GetPaginationFriendsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo"`
|
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo,omitempty"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsResp) Reset() {
|
func (x *GetPaginationFriendsResp) Reset() {
|
||||||
@@ -142,10 +159,10 @@ type ApplyToAddFriendReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"`
|
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"`
|
||||||
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"`
|
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID,omitempty"`
|
||||||
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"`
|
||||||
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ApplyToAddFriendReq) Reset() {
|
func (x *ApplyToAddFriendReq) Reset() {
|
||||||
@@ -251,8 +268,8 @@ type ImportFriendReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs"`
|
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ImportFriendReq) Reset() {
|
func (x *ImportFriendReq) Reset() {
|
||||||
@@ -344,8 +361,8 @@ type GetPaginationFriendsApplyToReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsApplyToReq) Reset() {
|
func (x *GetPaginationFriendsApplyToReq) Reset() {
|
||||||
@@ -399,8 +416,8 @@ type GetPaginationFriendsApplyToResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=FriendRequests,proto3" json:"FriendRequests"`
|
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=FriendRequests,proto3" json:"FriendRequests,omitempty"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsApplyToResp) Reset() {
|
func (x *GetPaginationFriendsApplyToResp) Reset() {
|
||||||
@@ -454,8 +471,8 @@ type GetDesignatedFriendsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs"`
|
FriendUserIDs []string `protobuf:"bytes,2,rep,name=friendUserIDs,proto3" json:"friendUserIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetDesignatedFriendsReq) Reset() {
|
func (x *GetDesignatedFriendsReq) Reset() {
|
||||||
@@ -509,7 +526,7 @@ type GetDesignatedFriendsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo"`
|
FriendsInfo []*sdkws.FriendInfo `protobuf:"bytes,1,rep,name=friendsInfo,proto3" json:"friendsInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetDesignatedFriendsResp) Reset() {
|
func (x *GetDesignatedFriendsResp) Reset() {
|
||||||
@@ -556,8 +573,8 @@ type AddBlackReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID"`
|
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AddBlackReq) Reset() {
|
func (x *AddBlackReq) Reset() {
|
||||||
@@ -649,8 +666,8 @@ type RemoveBlackReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID"`
|
BlackUserID string `protobuf:"bytes,2,opt,name=blackUserID,proto3" json:"blackUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RemoveBlackReq) Reset() {
|
func (x *RemoveBlackReq) Reset() {
|
||||||
@@ -742,8 +759,8 @@ type GetPaginationBlacksReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationBlacksReq) Reset() {
|
func (x *GetPaginationBlacksReq) Reset() {
|
||||||
@@ -797,8 +814,8 @@ type GetPaginationBlacksResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Blacks []*sdkws.BlackInfo `protobuf:"bytes,1,rep,name=blacks,proto3" json:"blacks"`
|
Blacks []*sdkws.BlackInfo `protobuf:"bytes,1,rep,name=blacks,proto3" json:"blacks,omitempty"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationBlacksResp) Reset() {
|
func (x *GetPaginationBlacksResp) Reset() {
|
||||||
@@ -852,8 +869,8 @@ type IsFriendReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1"`
|
UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1,omitempty"`
|
||||||
UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2"`
|
UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IsFriendReq) Reset() {
|
func (x *IsFriendReq) Reset() {
|
||||||
@@ -907,8 +924,8 @@ type IsFriendResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
InUser1Friends bool `protobuf:"varint,1,opt,name=inUser1Friends,proto3" json:"inUser1Friends"` //如果userID2在userID1的好友列表中 true
|
InUser1Friends bool `protobuf:"varint,1,opt,name=inUser1Friends,proto3" json:"inUser1Friends,omitempty"` //如果userID2在userID1的好友列表中 true
|
||||||
InUser2Friends bool `protobuf:"varint,2,opt,name=inUser2Friends,proto3" json:"inUser2Friends"` //如果userID1在userID2的好友列表中 true
|
InUser2Friends bool `protobuf:"varint,2,opt,name=inUser2Friends,proto3" json:"inUser2Friends,omitempty"` //如果userID1在userID2的好友列表中 true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IsFriendResp) Reset() {
|
func (x *IsFriendResp) Reset() {
|
||||||
@@ -962,8 +979,8 @@ type IsBlackReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1"`
|
UserID1 string `protobuf:"bytes,1,opt,name=userID1,proto3" json:"userID1,omitempty"`
|
||||||
UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2"`
|
UserID2 string `protobuf:"bytes,2,opt,name=userID2,proto3" json:"userID2,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IsBlackReq) Reset() {
|
func (x *IsBlackReq) Reset() {
|
||||||
@@ -1017,8 +1034,8 @@ type IsBlackResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
InUser1Blacks bool `protobuf:"varint,1,opt,name=inUser1Blacks,proto3" json:"inUser1Blacks"` //如果userID2在userID1的黑名单列表中 true
|
InUser1Blacks bool `protobuf:"varint,1,opt,name=inUser1Blacks,proto3" json:"inUser1Blacks,omitempty"` //如果userID2在userID1的黑名单列表中 true
|
||||||
InUser2Blacks bool `protobuf:"varint,2,opt,name=inUser2Blacks,proto3" json:"inUser2Blacks"` //如果userID1在userID2的黑名单列表中 true
|
InUser2Blacks bool `protobuf:"varint,2,opt,name=inUser2Blacks,proto3" json:"inUser2Blacks,omitempty"` //如果userID1在userID2的黑名单列表中 true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *IsBlackResp) Reset() {
|
func (x *IsBlackResp) Reset() {
|
||||||
@@ -1072,8 +1089,8 @@ type DeleteFriendReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID"`
|
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteFriendReq) Reset() {
|
func (x *DeleteFriendReq) Reset() {
|
||||||
@@ -1166,10 +1183,10 @@ type RespondFriendApplyReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"` //主动发起的申请者
|
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"` //主动发起的申请者
|
||||||
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"` //被动添加者
|
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID,omitempty"` //被动添加者
|
||||||
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult,omitempty"`
|
||||||
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RespondFriendApplyReq) Reset() {
|
func (x *RespondFriendApplyReq) Reset() {
|
||||||
@@ -1275,9 +1292,9 @@ type SetFriendRemarkReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID"`
|
FriendUserID string `protobuf:"bytes,2,opt,name=friendUserID,proto3" json:"friendUserID,omitempty"`
|
||||||
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark"`
|
Remark string `protobuf:"bytes,3,opt,name=remark,proto3" json:"remark,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetFriendRemarkReq) Reset() {
|
func (x *SetFriendRemarkReq) Reset() {
|
||||||
@@ -1376,8 +1393,8 @@ type GetPaginationFriendsApplyFromReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsApplyFromReq) Reset() {
|
func (x *GetPaginationFriendsApplyFromReq) Reset() {
|
||||||
@@ -1431,8 +1448,8 @@ type GetPaginationFriendsApplyFromResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=friendRequests,proto3" json:"friendRequests"`
|
FriendRequests []*sdkws.FriendRequest `protobuf:"bytes,1,rep,name=friendRequests,proto3" json:"friendRequests,omitempty"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationFriendsApplyFromResp) Reset() {
|
func (x *GetPaginationFriendsApplyFromResp) Reset() {
|
||||||
@@ -1486,7 +1503,7 @@ type GetFriendIDsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetFriendIDsReq) Reset() {
|
func (x *GetFriendIDsReq) Reset() {
|
||||||
@@ -1533,7 +1550,7 @@ type GetFriendIDsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FriendIDs []string `protobuf:"bytes,1,rep,name=friendIDs,proto3" json:"friendIDs"`
|
FriendIDs []string `protobuf:"bytes,1,rep,name=friendIDs,proto3" json:"friendIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetFriendIDsResp) Reset() {
|
func (x *GetFriendIDsResp) Reset() {
|
||||||
@@ -2337,33 +2354,33 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type FriendClient interface {
|
type FriendClient interface {
|
||||||
// 申请加好友
|
//申请加好友
|
||||||
ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error)
|
ApplyToAddFriend(ctx context.Context, in *ApplyToAddFriendReq, opts ...grpc.CallOption) (*ApplyToAddFriendResp, error)
|
||||||
// 获取收到的好友申请列表
|
//获取收到的好友申请列表
|
||||||
GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error)
|
GetPaginationFriendsApplyTo(ctx context.Context, in *GetPaginationFriendsApplyToReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyToResp, error)
|
||||||
// 获取主动发出去的好友申请列表
|
//获取主动发出去的好友申请列表
|
||||||
GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error)
|
GetPaginationFriendsApplyFrom(ctx context.Context, in *GetPaginationFriendsApplyFromReq, opts ...grpc.CallOption) (*GetPaginationFriendsApplyFromResp, error)
|
||||||
// 添加黑名单
|
//添加黑名单
|
||||||
AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error)
|
AddBlack(ctx context.Context, in *AddBlackReq, opts ...grpc.CallOption) (*AddBlackResp, error)
|
||||||
// 移除黑名单
|
//移除黑名单
|
||||||
RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error)
|
RemoveBlack(ctx context.Context, in *RemoveBlackReq, opts ...grpc.CallOption) (*RemoveBlackResp, error)
|
||||||
// 判断是否好友关系
|
//判断是否好友关系
|
||||||
IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error)
|
IsFriend(ctx context.Context, in *IsFriendReq, opts ...grpc.CallOption) (*IsFriendResp, error)
|
||||||
// 判断是否在黑名单中
|
//判断是否在黑名单中
|
||||||
IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error)
|
IsBlack(ctx context.Context, in *IsBlackReq, opts ...grpc.CallOption) (*IsBlackResp, error)
|
||||||
// 获取黑名单列表
|
//获取黑名单列表
|
||||||
GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error)
|
GetPaginationBlacks(ctx context.Context, in *GetPaginationBlacksReq, opts ...grpc.CallOption) (*GetPaginationBlacksResp, error)
|
||||||
// 删除好友
|
//删除好友
|
||||||
DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error)
|
DeleteFriend(ctx context.Context, in *DeleteFriendReq, opts ...grpc.CallOption) (*DeleteFriendResp, error)
|
||||||
// 对好友申请响应(同意或拒绝)
|
//对好友申请响应(同意或拒绝)
|
||||||
RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error)
|
RespondFriendApply(ctx context.Context, in *RespondFriendApplyReq, opts ...grpc.CallOption) (*RespondFriendApplyResp, error)
|
||||||
// 设置好友备注
|
//设置好友备注
|
||||||
SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error)
|
SetFriendRemark(ctx context.Context, in *SetFriendRemarkReq, opts ...grpc.CallOption) (*SetFriendRemarkResp, error)
|
||||||
// 导入好友关系
|
//导入好友关系
|
||||||
ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error)
|
ImportFriends(ctx context.Context, in *ImportFriendReq, opts ...grpc.CallOption) (*ImportFriendResp, error)
|
||||||
// 翻页获取好友列表 无结果不返回错误
|
//翻页获取好友列表 无结果不返回错误
|
||||||
GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error)
|
GetDesignatedFriends(ctx context.Context, in *GetDesignatedFriendsReq, opts ...grpc.CallOption) (*GetDesignatedFriendsResp, error)
|
||||||
// 获取指定好友信息 有id不存在也返回错误
|
//获取指定好友信息 有id不存在也返回错误
|
||||||
GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error)
|
GetPaginationFriends(ctx context.Context, in *GetPaginationFriendsReq, opts ...grpc.CallOption) (*GetPaginationFriendsResp, error)
|
||||||
// 获取好友ID列表
|
// 获取好友ID列表
|
||||||
GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error)
|
GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, opts ...grpc.CallOption) (*GetFriendIDsResp, error)
|
||||||
@@ -2514,33 +2531,33 @@ func (c *friendClient) GetFriendIDs(ctx context.Context, in *GetFriendIDsReq, op
|
|||||||
|
|
||||||
// FriendServer is the server API for Friend service.
|
// FriendServer is the server API for Friend service.
|
||||||
type FriendServer interface {
|
type FriendServer interface {
|
||||||
// 申请加好友
|
//申请加好友
|
||||||
ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error)
|
ApplyToAddFriend(context.Context, *ApplyToAddFriendReq) (*ApplyToAddFriendResp, error)
|
||||||
// 获取收到的好友申请列表
|
//获取收到的好友申请列表
|
||||||
GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error)
|
GetPaginationFriendsApplyTo(context.Context, *GetPaginationFriendsApplyToReq) (*GetPaginationFriendsApplyToResp, error)
|
||||||
// 获取主动发出去的好友申请列表
|
//获取主动发出去的好友申请列表
|
||||||
GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error)
|
GetPaginationFriendsApplyFrom(context.Context, *GetPaginationFriendsApplyFromReq) (*GetPaginationFriendsApplyFromResp, error)
|
||||||
// 添加黑名单
|
//添加黑名单
|
||||||
AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error)
|
AddBlack(context.Context, *AddBlackReq) (*AddBlackResp, error)
|
||||||
// 移除黑名单
|
//移除黑名单
|
||||||
RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error)
|
RemoveBlack(context.Context, *RemoveBlackReq) (*RemoveBlackResp, error)
|
||||||
// 判断是否好友关系
|
//判断是否好友关系
|
||||||
IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
|
IsFriend(context.Context, *IsFriendReq) (*IsFriendResp, error)
|
||||||
// 判断是否在黑名单中
|
//判断是否在黑名单中
|
||||||
IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error)
|
IsBlack(context.Context, *IsBlackReq) (*IsBlackResp, error)
|
||||||
// 获取黑名单列表
|
//获取黑名单列表
|
||||||
GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error)
|
GetPaginationBlacks(context.Context, *GetPaginationBlacksReq) (*GetPaginationBlacksResp, error)
|
||||||
// 删除好友
|
//删除好友
|
||||||
DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
|
DeleteFriend(context.Context, *DeleteFriendReq) (*DeleteFriendResp, error)
|
||||||
// 对好友申请响应(同意或拒绝)
|
//对好友申请响应(同意或拒绝)
|
||||||
RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error)
|
RespondFriendApply(context.Context, *RespondFriendApplyReq) (*RespondFriendApplyResp, error)
|
||||||
// 设置好友备注
|
//设置好友备注
|
||||||
SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
|
SetFriendRemark(context.Context, *SetFriendRemarkReq) (*SetFriendRemarkResp, error)
|
||||||
// 导入好友关系
|
//导入好友关系
|
||||||
ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
|
ImportFriends(context.Context, *ImportFriendReq) (*ImportFriendResp, error)
|
||||||
// 翻页获取好友列表 无结果不返回错误
|
//翻页获取好友列表 无结果不返回错误
|
||||||
GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error)
|
GetDesignatedFriends(context.Context, *GetDesignatedFriendsReq) (*GetDesignatedFriendsResp, error)
|
||||||
// 获取指定好友信息 有id不存在也返回错误
|
//获取指定好友信息 有id不存在也返回错误
|
||||||
GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error)
|
GetPaginationFriends(context.Context, *GetPaginationFriendsReq) (*GetPaginationFriendsResp, error)
|
||||||
// 获取好友ID列表
|
// 获取好友ID列表
|
||||||
GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error)
|
GetFriendIDs(context.Context, *GetFriendIDsReq) (*GetFriendIDsResp, error)
|
||||||
|
|||||||
+184
-167
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: group/group.proto
|
// source: group/group.proto
|
||||||
|
|
||||||
@@ -8,17 +22,16 @@ package group
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
sync "sync"
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -28,15 +41,19 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type CreateGroupReq struct {
|
type CreateGroupReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MemberUserIDs []string `protobuf:"bytes,1,rep,name=memberUserIDs,proto3" json:"memberUserIDs"`
|
MemberUserIDs []string `protobuf:"bytes,1,rep,name=memberUserIDs,proto3" json:"memberUserIDs,omitempty"`
|
||||||
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
||||||
AdminUserIDs []string `protobuf:"bytes,3,rep,name=adminUserIDs,proto3" json:"adminUserIDs"`
|
AdminUserIDs []string `protobuf:"bytes,3,rep,name=adminUserIDs,proto3" json:"adminUserIDs,omitempty"`
|
||||||
OwnerUserID string `protobuf:"bytes,4,opt,name=ownerUserID,proto3" json:"ownerUserID"` //owner
|
OwnerUserID string `protobuf:"bytes,4,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"` //owner
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateGroupReq) Reset() {
|
func (x *CreateGroupReq) Reset() {
|
||||||
@@ -104,7 +121,7 @@ type CreateGroupResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CreateGroupResp) Reset() {
|
func (x *CreateGroupResp) Reset() {
|
||||||
@@ -151,7 +168,7 @@ type GetGroupsInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupsInfoReq) Reset() {
|
func (x *GetGroupsInfoReq) Reset() {
|
||||||
@@ -198,7 +215,7 @@ type GetGroupsInfoResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupsInfoResp) Reset() {
|
func (x *GetGroupsInfoResp) Reset() {
|
||||||
@@ -245,7 +262,7 @@ type SetGroupInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfoForSet *sdkws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet,proto3" json:"groupInfoForSet"`
|
GroupInfoForSet *sdkws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet,proto3" json:"groupInfoForSet,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetGroupInfoReq) Reset() {
|
func (x *SetGroupInfoReq) Reset() {
|
||||||
@@ -330,8 +347,8 @@ type GetGroupApplicationListReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"` //owner or admin
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"` //owner or admin
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupApplicationListReq) Reset() {
|
func (x *GetGroupApplicationListReq) Reset() {
|
||||||
@@ -385,8 +402,8 @@ type GetGroupApplicationListResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupApplicationListResp) Reset() {
|
func (x *GetGroupApplicationListResp) Reset() {
|
||||||
@@ -440,8 +457,8 @@ type GetUserReqApplicationListReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserReqApplicationListReq) Reset() {
|
func (x *GetUserReqApplicationListReq) Reset() {
|
||||||
@@ -495,8 +512,8 @@ type GetUserReqApplicationListResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserReqApplicationListResp) Reset() {
|
func (x *GetUserReqApplicationListResp) Reset() {
|
||||||
@@ -550,9 +567,9 @@ type TransferGroupOwnerReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
OldOwnerUserID string `protobuf:"bytes,2,opt,name=oldOwnerUserID,proto3" json:"oldOwnerUserID"`
|
OldOwnerUserID string `protobuf:"bytes,2,opt,name=oldOwnerUserID,proto3" json:"oldOwnerUserID,omitempty"`
|
||||||
NewOwnerUserID string `protobuf:"bytes,3,opt,name=newOwnerUserID,proto3" json:"newOwnerUserID"`
|
NewOwnerUserID string `protobuf:"bytes,3,opt,name=newOwnerUserID,proto3" json:"newOwnerUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TransferGroupOwnerReq) Reset() {
|
func (x *TransferGroupOwnerReq) Reset() {
|
||||||
@@ -651,10 +668,10 @@ type JoinGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
ReqMessage string `protobuf:"bytes,2,opt,name=reqMessage,proto3" json:"reqMessage"`
|
ReqMessage string `protobuf:"bytes,2,opt,name=reqMessage,proto3" json:"reqMessage,omitempty"`
|
||||||
JoinSource int32 `protobuf:"varint,3,opt,name=joinSource,proto3" json:"joinSource"`
|
JoinSource int32 `protobuf:"varint,3,opt,name=joinSource,proto3" json:"joinSource,omitempty"`
|
||||||
InviterUserID string `protobuf:"bytes,4,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
InviterUserID string `protobuf:"bytes,4,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *JoinGroupReq) Reset() {
|
func (x *JoinGroupReq) Reset() {
|
||||||
@@ -760,10 +777,10 @@ type GroupApplicationResponseReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"` //
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"` //
|
||||||
HandledMsg string `protobuf:"bytes,3,opt,name=handledMsg,proto3" json:"handledMsg"`
|
HandledMsg string `protobuf:"bytes,3,opt,name=handledMsg,proto3" json:"handledMsg,omitempty"`
|
||||||
HandleResult int32 `protobuf:"varint,4,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,4,opt,name=handleResult,proto3" json:"handleResult,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupApplicationResponseReq) Reset() {
|
func (x *GroupApplicationResponseReq) Reset() {
|
||||||
@@ -869,7 +886,7 @@ type QuitGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *QuitGroupReq) Reset() {
|
func (x *QuitGroupReq) Reset() {
|
||||||
@@ -954,9 +971,9 @@ type GetGroupMemberListReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
Filter int32 `protobuf:"varint,3,opt,name=filter,proto3" json:"filter"`
|
Filter int32 `protobuf:"varint,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberListReq) Reset() {
|
func (x *GetGroupMemberListReq) Reset() {
|
||||||
@@ -1017,8 +1034,8 @@ type GetGroupMemberListResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberListResp) Reset() {
|
func (x *GetGroupMemberListResp) Reset() {
|
||||||
@@ -1072,8 +1089,8 @@ type GetGroupMembersInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMembersInfoReq) Reset() {
|
func (x *GetGroupMembersInfoReq) Reset() {
|
||||||
@@ -1127,7 +1144,7 @@ type GetGroupMembersInfoResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMembersInfoResp) Reset() {
|
func (x *GetGroupMembersInfoResp) Reset() {
|
||||||
@@ -1174,9 +1191,9 @@ type KickGroupMemberReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
KickedUserIDs []string `protobuf:"bytes,2,rep,name=kickedUserIDs,proto3" json:"kickedUserIDs"`
|
KickedUserIDs []string `protobuf:"bytes,2,rep,name=kickedUserIDs,proto3" json:"kickedUserIDs,omitempty"`
|
||||||
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason"`
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *KickGroupMemberReq) Reset() {
|
func (x *KickGroupMemberReq) Reset() {
|
||||||
@@ -1275,8 +1292,8 @@ type GetJoinedGroupListReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"`
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetJoinedGroupListReq) Reset() {
|
func (x *GetJoinedGroupListReq) Reset() {
|
||||||
@@ -1330,8 +1347,8 @@ type GetJoinedGroupListResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Groups []*sdkws.GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetJoinedGroupListResp) Reset() {
|
func (x *GetJoinedGroupListResp) Reset() {
|
||||||
@@ -1385,9 +1402,9 @@ type InviteUserToGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason"`
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
||||||
InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs,proto3" json:"invitedUserIDs"`
|
InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs,proto3" json:"invitedUserIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InviteUserToGroupReq) Reset() {
|
func (x *InviteUserToGroupReq) Reset() {
|
||||||
@@ -1486,8 +1503,8 @@ type GetGroupAllMemberReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupAllMemberReq) Reset() {
|
func (x *GetGroupAllMemberReq) Reset() {
|
||||||
@@ -1541,7 +1558,7 @@ type GetGroupAllMemberResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupAllMemberResp) Reset() {
|
func (x *GetGroupAllMemberResp) Reset() {
|
||||||
@@ -1588,9 +1605,9 @@ type CMSGroup struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
||||||
GroupOwnerUserName string `protobuf:"bytes,2,opt,name=groupOwnerUserName,proto3" json:"groupOwnerUserName"`
|
GroupOwnerUserName string `protobuf:"bytes,2,opt,name=groupOwnerUserName,proto3" json:"groupOwnerUserName,omitempty"`
|
||||||
GroupOwnerUserID string `protobuf:"bytes,3,opt,name=groupOwnerUserID,proto3" json:"groupOwnerUserID"`
|
GroupOwnerUserID string `protobuf:"bytes,3,opt,name=groupOwnerUserID,proto3" json:"groupOwnerUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CMSGroup) Reset() {
|
func (x *CMSGroup) Reset() {
|
||||||
@@ -1651,9 +1668,9 @@ type GetGroupsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupsReq) Reset() {
|
func (x *GetGroupsReq) Reset() {
|
||||||
@@ -1714,8 +1731,8 @@ type GetGroupsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Groups []*CMSGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
Groups []*CMSGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupsResp) Reset() {
|
func (x *GetGroupsResp) Reset() {
|
||||||
@@ -1769,7 +1786,7 @@ type GetGroupMemberReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberReq) Reset() {
|
func (x *GetGroupMemberReq) Reset() {
|
||||||
@@ -1816,9 +1833,9 @@ type GetGroupMembersCMSReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
|
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMembersCMSReq) Reset() {
|
func (x *GetGroupMembersCMSReq) Reset() {
|
||||||
@@ -1879,8 +1896,8 @@ type GetGroupMembersCMSResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMembersCMSResp) Reset() {
|
func (x *GetGroupMembersCMSResp) Reset() {
|
||||||
@@ -1934,8 +1951,8 @@ type DismissGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
DeleteMember bool `protobuf:"varint,2,opt,name=deleteMember,proto3" json:"deleteMember"`
|
DeleteMember bool `protobuf:"varint,2,opt,name=deleteMember,proto3" json:"deleteMember,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DismissGroupReq) Reset() {
|
func (x *DismissGroupReq) Reset() {
|
||||||
@@ -2027,9 +2044,9 @@ type MuteGroupMemberReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
MutedSeconds uint32 `protobuf:"varint,3,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
MutedSeconds uint32 `protobuf:"varint,3,opt,name=mutedSeconds,proto3" json:"mutedSeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MuteGroupMemberReq) Reset() {
|
func (x *MuteGroupMemberReq) Reset() {
|
||||||
@@ -2128,8 +2145,8 @@ type CancelMuteGroupMemberReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelMuteGroupMemberReq) Reset() {
|
func (x *CancelMuteGroupMemberReq) Reset() {
|
||||||
@@ -2221,7 +2238,7 @@ type MuteGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MuteGroupReq) Reset() {
|
func (x *MuteGroupReq) Reset() {
|
||||||
@@ -2306,7 +2323,7 @@ type CancelMuteGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CancelMuteGroupReq) Reset() {
|
func (x *CancelMuteGroupReq) Reset() {
|
||||||
@@ -2391,7 +2408,7 @@ type GetJoinedSuperGroupListReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetJoinedSuperGroupListReq) Reset() {
|
func (x *GetJoinedSuperGroupListReq) Reset() {
|
||||||
@@ -2438,7 +2455,7 @@ type GetJoinedSuperGroupListResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Groups []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups"`
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetJoinedSuperGroupListResp) Reset() {
|
func (x *GetJoinedSuperGroupListResp) Reset() {
|
||||||
@@ -2485,7 +2502,7 @@ type GetSuperGroupsInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetSuperGroupsInfoReq) Reset() {
|
func (x *GetSuperGroupsInfoReq) Reset() {
|
||||||
@@ -2532,7 +2549,7 @@ type GetSuperGroupsInfoResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetSuperGroupsInfoResp) Reset() {
|
func (x *GetSuperGroupsInfoResp) Reset() {
|
||||||
@@ -2579,12 +2596,12 @@ type SetGroupMemberInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Nickname *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"`
|
Nickname *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
||||||
FaceURL *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=roleLevel,proto3" json:"roleLevel"`
|
RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"`
|
||||||
Ex *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
Ex *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetGroupMemberInfo) Reset() {
|
func (x *SetGroupMemberInfo) Reset() {
|
||||||
@@ -2666,7 +2683,7 @@ type SetGroupMemberInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Members []*SetGroupMemberInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
Members []*SetGroupMemberInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetGroupMemberInfoReq) Reset() {
|
func (x *SetGroupMemberInfoReq) Reset() {
|
||||||
@@ -2751,7 +2768,7 @@ type GetGroupAbstractInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupAbstractInfoReq) Reset() {
|
func (x *GetGroupAbstractInfoReq) Reset() {
|
||||||
@@ -2798,9 +2815,9 @@ type GroupAbstractInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber"`
|
GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber,omitempty"`
|
||||||
GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash"`
|
GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupAbstractInfo) Reset() {
|
func (x *GroupAbstractInfo) Reset() {
|
||||||
@@ -2861,7 +2878,7 @@ type GetGroupAbstractInfoResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupAbstractInfos []*GroupAbstractInfo `protobuf:"bytes,1,rep,name=groupAbstractInfos,proto3" json:"groupAbstractInfos"`
|
GroupAbstractInfos []*GroupAbstractInfo `protobuf:"bytes,1,rep,name=groupAbstractInfos,proto3" json:"groupAbstractInfos,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupAbstractInfoResp) Reset() {
|
func (x *GetGroupAbstractInfoResp) Reset() {
|
||||||
@@ -2908,8 +2925,8 @@ type GetUserInGroupMembersReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs,proto3" json:"groupIDs"`
|
GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserInGroupMembersReq) Reset() {
|
func (x *GetUserInGroupMembersReq) Reset() {
|
||||||
@@ -2963,7 +2980,7 @@ type GetUserInGroupMembersResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUserInGroupMembersResp) Reset() {
|
func (x *GetUserInGroupMembersResp) Reset() {
|
||||||
@@ -3010,7 +3027,7 @@ type GetGroupMemberUserIDsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberUserIDsReq) Reset() {
|
func (x *GetGroupMemberUserIDsReq) Reset() {
|
||||||
@@ -3057,7 +3074,7 @@ type GetGroupMemberUserIDsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberUserIDsResp) Reset() {
|
func (x *GetGroupMemberUserIDsResp) Reset() {
|
||||||
@@ -3104,8 +3121,8 @@ type GetGroupMemberRoleLevelReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
RoleLevels []int32 `protobuf:"varint,2,rep,packed,name=roleLevels,proto3" json:"roleLevels"`
|
RoleLevels []int32 `protobuf:"varint,2,rep,packed,name=roleLevels,proto3" json:"roleLevels,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberRoleLevelReq) Reset() {
|
func (x *GetGroupMemberRoleLevelReq) Reset() {
|
||||||
@@ -3159,7 +3176,7 @@ type GetGroupMemberRoleLevelResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberRoleLevelResp) Reset() {
|
func (x *GetGroupMemberRoleLevelResp) Reset() {
|
||||||
@@ -3206,7 +3223,7 @@ type GetGroupInfoCacheReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupInfoCacheReq) Reset() {
|
func (x *GetGroupInfoCacheReq) Reset() {
|
||||||
@@ -3253,7 +3270,7 @@ type GetGroupInfoCacheResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupInfoCacheResp) Reset() {
|
func (x *GetGroupInfoCacheResp) Reset() {
|
||||||
@@ -3300,8 +3317,8 @@ type GetGroupMemberCacheReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
GroupMemberID string `protobuf:"bytes,2,opt,name=groupMemberID,proto3" json:"groupMemberID"`
|
GroupMemberID string `protobuf:"bytes,2,opt,name=groupMemberID,proto3" json:"groupMemberID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberCacheReq) Reset() {
|
func (x *GetGroupMemberCacheReq) Reset() {
|
||||||
@@ -3355,7 +3372,7 @@ type GetGroupMemberCacheResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Member *sdkws.GroupMemberFullInfo `protobuf:"bytes,1,opt,name=member,proto3" json:"member"`
|
Member *sdkws.GroupMemberFullInfo `protobuf:"bytes,1,opt,name=member,proto3" json:"member,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGroupMemberCacheResp) Reset() {
|
func (x *GetGroupMemberCacheResp) Reset() {
|
||||||
@@ -3402,8 +3419,8 @@ type GroupCreateCountReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start"`
|
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupCreateCountReq) Reset() {
|
func (x *GroupCreateCountReq) Reset() {
|
||||||
@@ -3457,9 +3474,9 @@ type GroupCreateCountResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before"`
|
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
|
||||||
Count map[string]int64 `protobuf:"bytes,3,rep,name=count,proto3" json:"count" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
Count map[string]int64 `protobuf:"bytes,3,rep,name=count,proto3" json:"count,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupCreateCountResp) Reset() {
|
func (x *GroupCreateCountResp) Reset() {
|
||||||
@@ -5161,60 +5178,60 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type GroupClient interface {
|
type GroupClient interface {
|
||||||
// 创建群
|
//创建群
|
||||||
CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
|
CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
|
||||||
// 申请加群
|
//申请加群
|
||||||
JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error)
|
JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error)
|
||||||
// 退出群
|
//退出群
|
||||||
QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error)
|
QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error)
|
||||||
// 获取指定群信息
|
//获取指定群信息
|
||||||
GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error)
|
GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error)
|
||||||
// 设置群信息
|
//设置群信息
|
||||||
SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error)
|
SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error)
|
||||||
// (以管理员或群主身份)获取群的加群申请
|
//(以管理员或群主身份)获取群的加群申请
|
||||||
GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error)
|
GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error)
|
||||||
// 获取用户自己的主动加群申请
|
//获取用户自己的主动加群申请
|
||||||
GetUserReqApplicationList(ctx context.Context, in *GetUserReqApplicationListReq, opts ...grpc.CallOption) (*GetUserReqApplicationListResp, error)
|
GetUserReqApplicationList(ctx context.Context, in *GetUserReqApplicationListReq, opts ...grpc.CallOption) (*GetUserReqApplicationListResp, error)
|
||||||
// 转让群主
|
//转让群主
|
||||||
TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error)
|
TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error)
|
||||||
// 群主或管理员处理进群申请
|
//群主或管理员处理进群申请
|
||||||
GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error)
|
GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error)
|
||||||
// 获取某个群的群成员
|
//获取某个群的群成员
|
||||||
GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error)
|
GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error)
|
||||||
// 获取某个群的指定群成员
|
//获取某个群的指定群成员
|
||||||
GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error)
|
GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error)
|
||||||
// 踢出群
|
//踢出群
|
||||||
KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error)
|
KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error)
|
||||||
// 获取某个人已加入群
|
//获取某个人已加入群
|
||||||
GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error)
|
GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error)
|
||||||
// 邀请某些人进群
|
//邀请某些人进群
|
||||||
InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error)
|
InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error)
|
||||||
GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
|
GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
|
||||||
GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error)
|
GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error)
|
||||||
// 解散群
|
//解散群
|
||||||
DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error)
|
DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error)
|
||||||
// 对某个群成员禁言
|
//对某个群成员禁言
|
||||||
MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error)
|
MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error)
|
||||||
// 对某个群成员取消禁言
|
//对某个群成员取消禁言
|
||||||
CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error)
|
CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error)
|
||||||
// 对某个群禁言
|
//对某个群禁言
|
||||||
MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error)
|
MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error)
|
||||||
// 对某个群取消禁言
|
//对某个群取消禁言
|
||||||
CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error)
|
CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error)
|
||||||
// 获取某个用户加入的超级群
|
//获取某个用户加入的超级群
|
||||||
GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error)
|
GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error)
|
||||||
// 获取指定的超级群信息
|
//获取指定的超级群信息
|
||||||
GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error)
|
GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error)
|
||||||
// 设置群成员昵称
|
//设置群成员昵称
|
||||||
// 设置群成员信息
|
//设置群成员信息
|
||||||
SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error)
|
SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error)
|
||||||
// 获取群信息hash值
|
//获取群信息hash值
|
||||||
GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error)
|
GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error)
|
||||||
// 获取某个用户在指定群中的信息
|
//获取某个用户在指定群中的信息
|
||||||
GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error)
|
GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error)
|
||||||
// 获取群成员用户ID
|
//获取群成员用户ID
|
||||||
GetGroupMemberUserIDs(ctx context.Context, in *GetGroupMemberUserIDsReq, opts ...grpc.CallOption) (*GetGroupMemberUserIDsResp, error)
|
GetGroupMemberUserIDs(ctx context.Context, in *GetGroupMemberUserIDsReq, opts ...grpc.CallOption) (*GetGroupMemberUserIDsResp, error)
|
||||||
// 查询群组中对应级别的成员
|
//查询群组中对应级别的成员
|
||||||
GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupMemberRoleLevelReq, opts ...grpc.CallOption) (*GetGroupMemberRoleLevelResp, error)
|
GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupMemberRoleLevelReq, opts ...grpc.CallOption) (*GetGroupMemberRoleLevelResp, error)
|
||||||
GetGroupInfoCache(ctx context.Context, in *GetGroupInfoCacheReq, opts ...grpc.CallOption) (*GetGroupInfoCacheResp, error)
|
GetGroupInfoCache(ctx context.Context, in *GetGroupInfoCacheReq, opts ...grpc.CallOption) (*GetGroupInfoCacheResp, error)
|
||||||
GetGroupMemberCache(ctx context.Context, in *GetGroupMemberCacheReq, opts ...grpc.CallOption) (*GetGroupMemberCacheResp, error)
|
GetGroupMemberCache(ctx context.Context, in *GetGroupMemberCacheReq, opts ...grpc.CallOption) (*GetGroupMemberCacheResp, error)
|
||||||
@@ -5510,60 +5527,60 @@ func (c *groupClient) GroupCreateCount(ctx context.Context, in *GroupCreateCount
|
|||||||
|
|
||||||
// GroupServer is the server API for Group service.
|
// GroupServer is the server API for Group service.
|
||||||
type GroupServer interface {
|
type GroupServer interface {
|
||||||
// 创建群
|
//创建群
|
||||||
CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
|
CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
|
||||||
// 申请加群
|
//申请加群
|
||||||
JoinGroup(context.Context, *JoinGroupReq) (*JoinGroupResp, error)
|
JoinGroup(context.Context, *JoinGroupReq) (*JoinGroupResp, error)
|
||||||
// 退出群
|
//退出群
|
||||||
QuitGroup(context.Context, *QuitGroupReq) (*QuitGroupResp, error)
|
QuitGroup(context.Context, *QuitGroupReq) (*QuitGroupResp, error)
|
||||||
// 获取指定群信息
|
//获取指定群信息
|
||||||
GetGroupsInfo(context.Context, *GetGroupsInfoReq) (*GetGroupsInfoResp, error)
|
GetGroupsInfo(context.Context, *GetGroupsInfoReq) (*GetGroupsInfoResp, error)
|
||||||
// 设置群信息
|
//设置群信息
|
||||||
SetGroupInfo(context.Context, *SetGroupInfoReq) (*SetGroupInfoResp, error)
|
SetGroupInfo(context.Context, *SetGroupInfoReq) (*SetGroupInfoResp, error)
|
||||||
// (以管理员或群主身份)获取群的加群申请
|
//(以管理员或群主身份)获取群的加群申请
|
||||||
GetGroupApplicationList(context.Context, *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error)
|
GetGroupApplicationList(context.Context, *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error)
|
||||||
// 获取用户自己的主动加群申请
|
//获取用户自己的主动加群申请
|
||||||
GetUserReqApplicationList(context.Context, *GetUserReqApplicationListReq) (*GetUserReqApplicationListResp, error)
|
GetUserReqApplicationList(context.Context, *GetUserReqApplicationListReq) (*GetUserReqApplicationListResp, error)
|
||||||
// 转让群主
|
//转让群主
|
||||||
TransferGroupOwner(context.Context, *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error)
|
TransferGroupOwner(context.Context, *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error)
|
||||||
// 群主或管理员处理进群申请
|
//群主或管理员处理进群申请
|
||||||
GroupApplicationResponse(context.Context, *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error)
|
GroupApplicationResponse(context.Context, *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error)
|
||||||
// 获取某个群的群成员
|
//获取某个群的群成员
|
||||||
GetGroupMemberList(context.Context, *GetGroupMemberListReq) (*GetGroupMemberListResp, error)
|
GetGroupMemberList(context.Context, *GetGroupMemberListReq) (*GetGroupMemberListResp, error)
|
||||||
// 获取某个群的指定群成员
|
//获取某个群的指定群成员
|
||||||
GetGroupMembersInfo(context.Context, *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error)
|
GetGroupMembersInfo(context.Context, *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error)
|
||||||
// 踢出群
|
//踢出群
|
||||||
KickGroupMember(context.Context, *KickGroupMemberReq) (*KickGroupMemberResp, error)
|
KickGroupMember(context.Context, *KickGroupMemberReq) (*KickGroupMemberResp, error)
|
||||||
// 获取某个人已加入群
|
//获取某个人已加入群
|
||||||
GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error)
|
GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error)
|
||||||
// 邀请某些人进群
|
//邀请某些人进群
|
||||||
InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error)
|
InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error)
|
||||||
GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error)
|
GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error)
|
||||||
GetGroupMembersCMS(context.Context, *GetGroupMembersCMSReq) (*GetGroupMembersCMSResp, error)
|
GetGroupMembersCMS(context.Context, *GetGroupMembersCMSReq) (*GetGroupMembersCMSResp, error)
|
||||||
// 解散群
|
//解散群
|
||||||
DismissGroup(context.Context, *DismissGroupReq) (*DismissGroupResp, error)
|
DismissGroup(context.Context, *DismissGroupReq) (*DismissGroupResp, error)
|
||||||
// 对某个群成员禁言
|
//对某个群成员禁言
|
||||||
MuteGroupMember(context.Context, *MuteGroupMemberReq) (*MuteGroupMemberResp, error)
|
MuteGroupMember(context.Context, *MuteGroupMemberReq) (*MuteGroupMemberResp, error)
|
||||||
// 对某个群成员取消禁言
|
//对某个群成员取消禁言
|
||||||
CancelMuteGroupMember(context.Context, *CancelMuteGroupMemberReq) (*CancelMuteGroupMemberResp, error)
|
CancelMuteGroupMember(context.Context, *CancelMuteGroupMemberReq) (*CancelMuteGroupMemberResp, error)
|
||||||
// 对某个群禁言
|
//对某个群禁言
|
||||||
MuteGroup(context.Context, *MuteGroupReq) (*MuteGroupResp, error)
|
MuteGroup(context.Context, *MuteGroupReq) (*MuteGroupResp, error)
|
||||||
// 对某个群取消禁言
|
//对某个群取消禁言
|
||||||
CancelMuteGroup(context.Context, *CancelMuteGroupReq) (*CancelMuteGroupResp, error)
|
CancelMuteGroup(context.Context, *CancelMuteGroupReq) (*CancelMuteGroupResp, error)
|
||||||
// 获取某个用户加入的超级群
|
//获取某个用户加入的超级群
|
||||||
GetJoinedSuperGroupList(context.Context, *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error)
|
GetJoinedSuperGroupList(context.Context, *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error)
|
||||||
// 获取指定的超级群信息
|
//获取指定的超级群信息
|
||||||
GetSuperGroupsInfo(context.Context, *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error)
|
GetSuperGroupsInfo(context.Context, *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error)
|
||||||
// 设置群成员昵称
|
//设置群成员昵称
|
||||||
// 设置群成员信息
|
//设置群成员信息
|
||||||
SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error)
|
SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error)
|
||||||
// 获取群信息hash值
|
//获取群信息hash值
|
||||||
GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error)
|
GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error)
|
||||||
// 获取某个用户在指定群中的信息
|
//获取某个用户在指定群中的信息
|
||||||
GetUserInGroupMembers(context.Context, *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error)
|
GetUserInGroupMembers(context.Context, *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error)
|
||||||
// 获取群成员用户ID
|
//获取群成员用户ID
|
||||||
GetGroupMemberUserIDs(context.Context, *GetGroupMemberUserIDsReq) (*GetGroupMemberUserIDsResp, error)
|
GetGroupMemberUserIDs(context.Context, *GetGroupMemberUserIDsReq) (*GetGroupMemberUserIDsResp, error)
|
||||||
// 查询群组中对应级别的成员
|
//查询群组中对应级别的成员
|
||||||
GetGroupMemberRoleLevel(context.Context, *GetGroupMemberRoleLevelReq) (*GetGroupMemberRoleLevelResp, error)
|
GetGroupMemberRoleLevel(context.Context, *GetGroupMemberRoleLevelReq) (*GetGroupMemberRoleLevelResp, error)
|
||||||
GetGroupInfoCache(context.Context, *GetGroupInfoCacheReq) (*GetGroupInfoCacheResp, error)
|
GetGroupInfoCache(context.Context, *GetGroupInfoCacheReq) (*GetGroupInfoCacheResp, error)
|
||||||
GetGroupMemberCache(context.Context, *GetGroupMemberCacheReq) (*GetGroupMemberCacheResp, error)
|
GetGroupMemberCache(context.Context, *GetGroupMemberCacheReq) (*GetGroupMemberCacheResp, error)
|
||||||
|
|||||||
+104
-85
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: msg/msg.proto
|
// source: msg/msg.proto
|
||||||
|
|
||||||
@@ -9,6 +23,7 @@ package msg
|
|||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
@@ -25,13 +40,17 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type MsgDataToMQ struct {
|
type MsgDataToMQ struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgDataToMQ) Reset() {
|
func (x *MsgDataToMQ) Reset() {
|
||||||
@@ -85,7 +104,7 @@ type MsgDataToDB struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgDataToDB) Reset() {
|
func (x *MsgDataToDB) Reset() {
|
||||||
@@ -132,8 +151,8 @@ type PushMsgDataToMQ struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PushMsgDataToMQ) Reset() {
|
func (x *PushMsgDataToMQ) Reset() {
|
||||||
@@ -187,9 +206,9 @@ type MsgDataToMongoByMQ struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
LastSeq int64 `protobuf:"varint,1,opt,name=lastSeq,proto3" json:"lastSeq"`
|
LastSeq int64 `protobuf:"varint,1,opt,name=lastSeq,proto3" json:"lastSeq,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
MsgData []*sdkws.MsgData `protobuf:"bytes,3,rep,name=msgData,proto3" json:"msgData"`
|
MsgData []*sdkws.MsgData `protobuf:"bytes,3,rep,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgDataToMongoByMQ) Reset() {
|
func (x *MsgDataToMongoByMQ) Reset() {
|
||||||
@@ -250,7 +269,7 @@ type GetMaxAndMinSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID"`
|
UserID string `protobuf:"bytes,1,opt,name=UserID,proto3" json:"UserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetMaxAndMinSeqReq) Reset() {
|
func (x *GetMaxAndMinSeqReq) Reset() {
|
||||||
@@ -297,8 +316,8 @@ type GetMaxAndMinSeqResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MaxSeq int64 `protobuf:"varint,1,opt,name=MaxSeq,proto3" json:"MaxSeq"`
|
MaxSeq int64 `protobuf:"varint,1,opt,name=MaxSeq,proto3" json:"MaxSeq,omitempty"`
|
||||||
MinSeq int64 `protobuf:"varint,2,opt,name=MinSeq,proto3" json:"MinSeq"`
|
MinSeq int64 `protobuf:"varint,2,opt,name=MinSeq,proto3" json:"MinSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetMaxAndMinSeqResp) Reset() {
|
func (x *GetMaxAndMinSeqResp) Reset() {
|
||||||
@@ -352,7 +371,7 @@ type SendMsgReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,3,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,3,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendMsgReq) Reset() {
|
func (x *SendMsgReq) Reset() {
|
||||||
@@ -399,9 +418,9 @@ type SendMsgResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID,omitempty"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`
|
||||||
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendMsgResp) Reset() {
|
func (x *SendMsgResp) Reset() {
|
||||||
@@ -462,7 +481,7 @@ type SetSendMsgStatusReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetSendMsgStatusReq) Reset() {
|
func (x *SetSendMsgStatusReq) Reset() {
|
||||||
@@ -585,7 +604,7 @@ type GetSendMsgStatusResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetSendMsgStatusResp) Reset() {
|
func (x *GetSendMsgStatusResp) Reset() {
|
||||||
@@ -632,8 +651,8 @@ type MsgDataToModifyByMQ struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Messages []*sdkws.MsgData `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages"`
|
Messages []*sdkws.MsgData `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgDataToModifyByMQ) Reset() {
|
func (x *MsgDataToModifyByMQ) Reset() {
|
||||||
@@ -763,9 +782,9 @@ type RevokeMsgReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq,omitempty"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RevokeMsgReq) Reset() {
|
func (x *RevokeMsgReq) Reset() {
|
||||||
@@ -864,9 +883,9 @@ type MarkMsgsAsReadReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkMsgsAsReadReq) Reset() {
|
func (x *MarkMsgsAsReadReq) Reset() {
|
||||||
@@ -965,10 +984,10 @@ type MarkConversationAsReadReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,4,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,4,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkConversationAsReadReq) Reset() {
|
func (x *MarkConversationAsReadReq) Reset() {
|
||||||
@@ -1074,9 +1093,9 @@ type SetConversationHasReadSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationHasReadSeqReq) Reset() {
|
func (x *SetConversationHasReadSeqReq) Reset() {
|
||||||
@@ -1175,8 +1194,8 @@ type DeleteSyncOpt struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
IsSyncSelf bool `protobuf:"varint,3,opt,name=IsSyncSelf,proto3" json:"IsSyncSelf"`
|
IsSyncSelf bool `protobuf:"varint,3,opt,name=IsSyncSelf,proto3" json:"IsSyncSelf,omitempty"`
|
||||||
IsSyncOther bool `protobuf:"varint,4,opt,name=IsSyncOther,proto3" json:"IsSyncOther"`
|
IsSyncOther bool `protobuf:"varint,4,opt,name=IsSyncOther,proto3" json:"IsSyncOther,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteSyncOpt) Reset() {
|
func (x *DeleteSyncOpt) Reset() {
|
||||||
@@ -1230,9 +1249,9 @@ type ClearConversationsMsgReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ClearConversationsMsgReq) Reset() {
|
func (x *ClearConversationsMsgReq) Reset() {
|
||||||
@@ -1331,8 +1350,8 @@ type UserClearAllMsgReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserClearAllMsgReq) Reset() {
|
func (x *UserClearAllMsgReq) Reset() {
|
||||||
@@ -1424,10 +1443,10 @@ type DeleteMsgsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,4,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,4,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgsReq) Reset() {
|
func (x *DeleteMsgsReq) Reset() {
|
||||||
@@ -1533,8 +1552,8 @@ type DeleteMsgPhysicalReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,1,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp"`
|
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgPhysicalReq) Reset() {
|
func (x *DeleteMsgPhysicalReq) Reset() {
|
||||||
@@ -1626,8 +1645,8 @@ type DeleteMsgPhysicalBySeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgPhysicalBySeqReq) Reset() {
|
func (x *DeleteMsgPhysicalBySeqReq) Reset() {
|
||||||
@@ -1719,7 +1738,7 @@ type GetConversationMaxSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationMaxSeqReq) Reset() {
|
func (x *GetConversationMaxSeqReq) Reset() {
|
||||||
@@ -1766,7 +1785,7 @@ type GetConversationMaxSeqResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MaxSeq int64 `protobuf:"varint,1,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,1,opt,name=maxSeq,proto3" json:"maxSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationMaxSeqResp) Reset() {
|
func (x *GetConversationMaxSeqResp) Reset() {
|
||||||
@@ -1813,7 +1832,7 @@ type GetConversationsHasReadAndMaxSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsHasReadAndMaxSeqReq) Reset() {
|
func (x *GetConversationsHasReadAndMaxSeqReq) Reset() {
|
||||||
@@ -1860,8 +1879,8 @@ type Seqs struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MaxSeq int64 `protobuf:"varint,1,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,1,opt,name=maxSeq,proto3" json:"maxSeq,omitempty"`
|
||||||
HasReadSeq int64 `protobuf:"varint,2,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,2,opt,name=hasReadSeq,proto3" json:"hasReadSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Seqs) Reset() {
|
func (x *Seqs) Reset() {
|
||||||
@@ -1915,7 +1934,7 @@ type GetConversationsHasReadAndMaxSeqResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Seqs map[string]*Seqs `protobuf:"bytes,1,rep,name=seqs,proto3" json:"seqs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Seqs map[string]*Seqs `protobuf:"bytes,1,rep,name=seqs,proto3" json:"seqs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsHasReadAndMaxSeqResp) Reset() {
|
func (x *GetConversationsHasReadAndMaxSeqResp) Reset() {
|
||||||
@@ -1962,11 +1981,11 @@ type GetActiveUserReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start"`
|
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
|
||||||
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase,omitempty"`
|
||||||
Group bool `protobuf:"varint,4,opt,name=group,proto3" json:"group"`
|
Group bool `protobuf:"varint,4,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveUserReq) Reset() {
|
func (x *GetActiveUserReq) Reset() {
|
||||||
@@ -2041,8 +2060,8 @@ type ActiveUser struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
User *sdkws.UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user"`
|
User *sdkws.UserInfo `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
|
||||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ActiveUser) Reset() {
|
func (x *ActiveUser) Reset() {
|
||||||
@@ -2096,10 +2115,10 @@ type GetActiveUserResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgCount int64 `protobuf:"varint,1,opt,name=msgCount,proto3" json:"msgCount"`
|
MsgCount int64 `protobuf:"varint,1,opt,name=msgCount,proto3" json:"msgCount,omitempty"`
|
||||||
UserCount int64 `protobuf:"varint,2,opt,name=userCount,proto3" json:"userCount"`
|
UserCount int64 `protobuf:"varint,2,opt,name=userCount,proto3" json:"userCount,omitempty"`
|
||||||
DateCount map[string]int64 `protobuf:"bytes,3,rep,name=dateCount,proto3" json:"dateCount" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
DateCount map[string]int64 `protobuf:"bytes,3,rep,name=dateCount,proto3" json:"dateCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
Users []*ActiveUser `protobuf:"bytes,4,rep,name=users,proto3" json:"users"`
|
Users []*ActiveUser `protobuf:"bytes,4,rep,name=users,proto3" json:"users,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveUserResp) Reset() {
|
func (x *GetActiveUserResp) Reset() {
|
||||||
@@ -2167,10 +2186,10 @@ type GetActiveGroupReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start"`
|
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
|
||||||
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase,omitempty"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveGroupReq) Reset() {
|
func (x *GetActiveGroupReq) Reset() {
|
||||||
@@ -2238,8 +2257,8 @@ type ActiveGroup struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ActiveGroup) Reset() {
|
func (x *ActiveGroup) Reset() {
|
||||||
@@ -2293,10 +2312,10 @@ type GetActiveGroupResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgCount int64 `protobuf:"varint,1,opt,name=msgCount,proto3" json:"msgCount"`
|
MsgCount int64 `protobuf:"varint,1,opt,name=msgCount,proto3" json:"msgCount,omitempty"`
|
||||||
GroupCount int64 `protobuf:"varint,2,opt,name=groupCount,proto3" json:"groupCount"`
|
GroupCount int64 `protobuf:"varint,2,opt,name=groupCount,proto3" json:"groupCount,omitempty"`
|
||||||
DateCount map[string]int64 `protobuf:"bytes,3,rep,name=dateCount,proto3" json:"dateCount" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
DateCount map[string]int64 `protobuf:"bytes,3,rep,name=dateCount,proto3" json:"dateCount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
Groups []*ActiveGroup `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups"`
|
Groups []*ActiveGroup `protobuf:"bytes,4,rep,name=groups,proto3" json:"groups,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveGroupResp) Reset() {
|
func (x *GetActiveGroupResp) Reset() {
|
||||||
@@ -3446,12 +3465,12 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type MsgClient interface {
|
type MsgClient interface {
|
||||||
// 获取最小最大seq(包括用户的,以及指定群组的)
|
//获取最小最大seq(包括用户的,以及指定群组的)
|
||||||
GetMaxSeq(ctx context.Context, in *sdkws.GetMaxSeqReq, opts ...grpc.CallOption) (*sdkws.GetMaxSeqResp, error)
|
GetMaxSeq(ctx context.Context, in *sdkws.GetMaxSeqReq, opts ...grpc.CallOption) (*sdkws.GetMaxSeqResp, error)
|
||||||
GetConversationMaxSeq(ctx context.Context, in *GetConversationMaxSeqReq, opts ...grpc.CallOption) (*GetConversationMaxSeqResp, error)
|
GetConversationMaxSeq(ctx context.Context, in *GetConversationMaxSeqReq, opts ...grpc.CallOption) (*GetConversationMaxSeqResp, error)
|
||||||
// 拉取历史消息(包括用户的,以及指定群组的)
|
//拉取历史消息(包括用户的,以及指定群组的)
|
||||||
PullMessageBySeqs(ctx context.Context, in *sdkws.PullMessageBySeqsReq, opts ...grpc.CallOption) (*sdkws.PullMessageBySeqsResp, error)
|
PullMessageBySeqs(ctx context.Context, in *sdkws.PullMessageBySeqsReq, opts ...grpc.CallOption) (*sdkws.PullMessageBySeqsResp, error)
|
||||||
// 发送消息
|
//发送消息
|
||||||
SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgResp, error)
|
SendMsg(ctx context.Context, in *SendMsgReq, opts ...grpc.CallOption) (*SendMsgResp, error)
|
||||||
// 全量清空指定会话消息 重置min seq 比最大seq大1
|
// 全量清空指定会话消息 重置min seq 比最大seq大1
|
||||||
ClearConversationsMsg(ctx context.Context, in *ClearConversationsMsgReq, opts ...grpc.CallOption) (*ClearConversationsMsgResp, error)
|
ClearConversationsMsg(ctx context.Context, in *ClearConversationsMsgReq, opts ...grpc.CallOption) (*ClearConversationsMsgResp, error)
|
||||||
@@ -3463,9 +3482,9 @@ type MsgClient interface {
|
|||||||
DeleteMsgPhysicalBySeq(ctx context.Context, in *DeleteMsgPhysicalBySeqReq, opts ...grpc.CallOption) (*DeleteMsgPhysicalBySeqResp, error)
|
DeleteMsgPhysicalBySeq(ctx context.Context, in *DeleteMsgPhysicalBySeqReq, opts ...grpc.CallOption) (*DeleteMsgPhysicalBySeqResp, error)
|
||||||
// 物理删除消息by 时间
|
// 物理删除消息by 时间
|
||||||
DeleteMsgPhysical(ctx context.Context, in *DeleteMsgPhysicalReq, opts ...grpc.CallOption) (*DeleteMsgPhysicalResp, error)
|
DeleteMsgPhysical(ctx context.Context, in *DeleteMsgPhysicalReq, opts ...grpc.CallOption) (*DeleteMsgPhysicalResp, error)
|
||||||
// 设置消息是否发送成功-针对api发送的消息
|
//设置消息是否发送成功-针对api发送的消息
|
||||||
SetSendMsgStatus(ctx context.Context, in *SetSendMsgStatusReq, opts ...grpc.CallOption) (*SetSendMsgStatusResp, error)
|
SetSendMsgStatus(ctx context.Context, in *SetSendMsgStatusReq, opts ...grpc.CallOption) (*SetSendMsgStatusResp, error)
|
||||||
// 获取消息发送状态
|
//获取消息发送状态
|
||||||
GetSendMsgStatus(ctx context.Context, in *GetSendMsgStatusReq, opts ...grpc.CallOption) (*GetSendMsgStatusResp, error)
|
GetSendMsgStatus(ctx context.Context, in *GetSendMsgStatusReq, opts ...grpc.CallOption) (*GetSendMsgStatusResp, error)
|
||||||
RevokeMsg(ctx context.Context, in *RevokeMsgReq, opts ...grpc.CallOption) (*RevokeMsgResp, error)
|
RevokeMsg(ctx context.Context, in *RevokeMsgReq, opts ...grpc.CallOption) (*RevokeMsgResp, error)
|
||||||
// mark as read
|
// mark as read
|
||||||
@@ -3649,12 +3668,12 @@ func (c *msgClient) GetActiveGroup(ctx context.Context, in *GetActiveGroupReq, o
|
|||||||
|
|
||||||
// MsgServer is the server API for Msg service.
|
// MsgServer is the server API for Msg service.
|
||||||
type MsgServer interface {
|
type MsgServer interface {
|
||||||
// 获取最小最大seq(包括用户的,以及指定群组的)
|
//获取最小最大seq(包括用户的,以及指定群组的)
|
||||||
GetMaxSeq(context.Context, *sdkws.GetMaxSeqReq) (*sdkws.GetMaxSeqResp, error)
|
GetMaxSeq(context.Context, *sdkws.GetMaxSeqReq) (*sdkws.GetMaxSeqResp, error)
|
||||||
GetConversationMaxSeq(context.Context, *GetConversationMaxSeqReq) (*GetConversationMaxSeqResp, error)
|
GetConversationMaxSeq(context.Context, *GetConversationMaxSeqReq) (*GetConversationMaxSeqResp, error)
|
||||||
// 拉取历史消息(包括用户的,以及指定群组的)
|
//拉取历史消息(包括用户的,以及指定群组的)
|
||||||
PullMessageBySeqs(context.Context, *sdkws.PullMessageBySeqsReq) (*sdkws.PullMessageBySeqsResp, error)
|
PullMessageBySeqs(context.Context, *sdkws.PullMessageBySeqsReq) (*sdkws.PullMessageBySeqsResp, error)
|
||||||
// 发送消息
|
//发送消息
|
||||||
SendMsg(context.Context, *SendMsgReq) (*SendMsgResp, error)
|
SendMsg(context.Context, *SendMsgReq) (*SendMsgResp, error)
|
||||||
// 全量清空指定会话消息 重置min seq 比最大seq大1
|
// 全量清空指定会话消息 重置min seq 比最大seq大1
|
||||||
ClearConversationsMsg(context.Context, *ClearConversationsMsgReq) (*ClearConversationsMsgResp, error)
|
ClearConversationsMsg(context.Context, *ClearConversationsMsgReq) (*ClearConversationsMsgResp, error)
|
||||||
@@ -3666,9 +3685,9 @@ type MsgServer interface {
|
|||||||
DeleteMsgPhysicalBySeq(context.Context, *DeleteMsgPhysicalBySeqReq) (*DeleteMsgPhysicalBySeqResp, error)
|
DeleteMsgPhysicalBySeq(context.Context, *DeleteMsgPhysicalBySeqReq) (*DeleteMsgPhysicalBySeqResp, error)
|
||||||
// 物理删除消息by 时间
|
// 物理删除消息by 时间
|
||||||
DeleteMsgPhysical(context.Context, *DeleteMsgPhysicalReq) (*DeleteMsgPhysicalResp, error)
|
DeleteMsgPhysical(context.Context, *DeleteMsgPhysicalReq) (*DeleteMsgPhysicalResp, error)
|
||||||
// 设置消息是否发送成功-针对api发送的消息
|
//设置消息是否发送成功-针对api发送的消息
|
||||||
SetSendMsgStatus(context.Context, *SetSendMsgStatusReq) (*SetSendMsgStatusResp, error)
|
SetSendMsgStatus(context.Context, *SetSendMsgStatusReq) (*SetSendMsgStatusResp, error)
|
||||||
// 获取消息发送状态
|
//获取消息发送状态
|
||||||
GetSendMsgStatus(context.Context, *GetSendMsgStatusReq) (*GetSendMsgStatusResp, error)
|
GetSendMsgStatus(context.Context, *GetSendMsgStatusReq) (*GetSendMsgStatusResp, error)
|
||||||
RevokeMsg(context.Context, *RevokeMsgReq) (*RevokeMsgResp, error)
|
RevokeMsg(context.Context, *RevokeMsgReq) (*RevokeMsgResp, error)
|
||||||
// mark as read
|
// mark as read
|
||||||
|
|||||||
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: msggateway/msggateway.proto
|
// source: msggateway/msggateway.proto
|
||||||
|
|
||||||
@@ -8,16 +22,15 @@ package msggateway
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
sync "sync"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -27,13 +40,17 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type OnlinePushMsgReq struct {
|
type OnlinePushMsgReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
PushToUserID string `protobuf:"bytes,2,opt,name=pushToUserID,proto3" json:"pushToUserID"`
|
PushToUserID string `protobuf:"bytes,2,opt,name=pushToUserID,proto3" json:"pushToUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OnlinePushMsgReq) Reset() {
|
func (x *OnlinePushMsgReq) Reset() {
|
||||||
@@ -87,7 +104,7 @@ type OnlinePushMsgResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,1,rep,name=resp,proto3" json:"resp"`
|
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,1,rep,name=resp,proto3" json:"resp,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OnlinePushMsgResp) Reset() {
|
func (x *OnlinePushMsgResp) Reset() {
|
||||||
@@ -134,9 +151,9 @@ type SingleMsgToUserResults struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp,proto3" json:"resp"`
|
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp,proto3" json:"resp,omitempty"`
|
||||||
OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush,proto3" json:"onlinePush"`
|
OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush,proto3" json:"onlinePush,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SingleMsgToUserResults) Reset() {
|
func (x *SingleMsgToUserResults) Reset() {
|
||||||
@@ -197,8 +214,8 @@ type OnlineBatchPushOneMsgReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
PushToUserIDs []string `protobuf:"bytes,2,rep,name=pushToUserIDs,proto3" json:"pushToUserIDs"`
|
PushToUserIDs []string `protobuf:"bytes,2,rep,name=pushToUserIDs,proto3" json:"pushToUserIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OnlineBatchPushOneMsgReq) Reset() {
|
func (x *OnlineBatchPushOneMsgReq) Reset() {
|
||||||
@@ -252,7 +269,7 @@ type OnlineBatchPushOneMsgResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
SinglePushResult []*SingleMsgToUserResults `protobuf:"bytes,1,rep,name=singlePushResult,proto3" json:"singlePushResult"`
|
SinglePushResult []*SingleMsgToUserResults `protobuf:"bytes,1,rep,name=singlePushResult,proto3" json:"singlePushResult,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OnlineBatchPushOneMsgResp) Reset() {
|
func (x *OnlineBatchPushOneMsgResp) Reset() {
|
||||||
@@ -299,9 +316,9 @@ type SingleMsgToUserPlatform struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ResultCode int64 `protobuf:"varint,1,opt,name=ResultCode,proto3" json:"ResultCode"`
|
ResultCode int64 `protobuf:"varint,1,opt,name=ResultCode,proto3" json:"ResultCode,omitempty"`
|
||||||
RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID"`
|
RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID,omitempty"`
|
||||||
RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID,proto3" json:"RecvPlatFormID"`
|
RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID,proto3" json:"RecvPlatFormID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SingleMsgToUserPlatform) Reset() {
|
func (x *SingleMsgToUserPlatform) Reset() {
|
||||||
@@ -362,7 +379,7 @@ type GetUsersOnlineStatusReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusReq) Reset() {
|
func (x *GetUsersOnlineStatusReq) Reset() {
|
||||||
@@ -409,8 +426,8 @@ type GetUsersOnlineStatusResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
SuccessResult []*GetUsersOnlineStatusResp_SuccessResult `protobuf:"bytes,1,rep,name=successResult,proto3" json:"successResult"`
|
SuccessResult []*GetUsersOnlineStatusResp_SuccessResult `protobuf:"bytes,1,rep,name=successResult,proto3" json:"successResult,omitempty"`
|
||||||
FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,2,rep,name=failedResult,proto3" json:"failedResult"`
|
FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,2,rep,name=failedResult,proto3" json:"failedResult,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp) Reset() {
|
func (x *GetUsersOnlineStatusResp) Reset() {
|
||||||
@@ -464,9 +481,9 @@ type SingleDetail struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
SinglePlatformToken []*SinglePlatformToken `protobuf:"bytes,3,rep,name=singlePlatformToken,proto3" json:"singlePlatformToken"`
|
SinglePlatformToken []*SinglePlatformToken `protobuf:"bytes,3,rep,name=singlePlatformToken,proto3" json:"singlePlatformToken,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SingleDetail) Reset() {
|
func (x *SingleDetail) Reset() {
|
||||||
@@ -527,9 +544,9 @@ type SinglePlatformToken struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform"`
|
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Token []string `protobuf:"bytes,3,rep,name=token,proto3" json:"token"`
|
Token []string `protobuf:"bytes,3,rep,name=token,proto3" json:"token,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SinglePlatformToken) Reset() {
|
func (x *SinglePlatformToken) Reset() {
|
||||||
@@ -590,8 +607,8 @@ type KickUserOfflineReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
KickUserIDList []string `protobuf:"bytes,2,rep,name=kickUserIDList,proto3" json:"kickUserIDList"`
|
KickUserIDList []string `protobuf:"bytes,2,rep,name=kickUserIDList,proto3" json:"kickUserIDList,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *KickUserOfflineReq) Reset() {
|
func (x *KickUserOfflineReq) Reset() {
|
||||||
@@ -683,10 +700,10 @@ type MultiTerminalLoginCheckReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MultiTerminalLoginCheckReq) Reset() {
|
func (x *MultiTerminalLoginCheckReq) Reset() {
|
||||||
@@ -792,11 +809,11 @@ type GetUsersOnlineStatusResp_SuccessDetail struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform"`
|
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
ConnID string `protobuf:"bytes,3,opt,name=connID,proto3" json:"connID"`
|
ConnID string `protobuf:"bytes,3,opt,name=connID,proto3" json:"connID,omitempty"`
|
||||||
IsBackground bool `protobuf:"varint,4,opt,name=isBackground,proto3" json:"isBackground"`
|
IsBackground bool `protobuf:"varint,4,opt,name=isBackground,proto3" json:"isBackground,omitempty"`
|
||||||
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset() {
|
func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset() {
|
||||||
@@ -871,7 +888,7 @@ type GetUsersOnlineStatusResp_FailedDetail struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp_FailedDetail) Reset() {
|
func (x *GetUsersOnlineStatusResp_FailedDetail) Reset() {
|
||||||
@@ -918,9 +935,9 @@ type GetUsersOnlineStatusResp_SuccessResult struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus,proto3" json:"detailPlatformStatus"`
|
DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus,proto3" json:"detailPlatformStatus,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp_SuccessResult) Reset() {
|
func (x *GetUsersOnlineStatusResp_SuccessResult) Reset() {
|
||||||
|
|||||||
+27
-10
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: push/push.proto
|
// source: push/push.proto
|
||||||
|
|
||||||
@@ -8,16 +22,15 @@ package push
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
sync "sync"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -27,13 +40,17 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type PushMsgReq struct {
|
type PushMsgReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,1,opt,name=msgData,proto3" json:"msgData,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PushMsgReq) Reset() {
|
func (x *PushMsgReq) Reset() {
|
||||||
@@ -125,8 +142,8 @@ type DelUserPushTokenReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DelUserPushTokenReq) Reset() {
|
func (x *DelUserPushTokenReq) Reset() {
|
||||||
|
|||||||
+284
-267
@@ -1,19 +1,32 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: sdkws/sdkws.proto
|
// source: sdkws/sdkws.proto
|
||||||
|
|
||||||
package sdkws
|
package sdkws
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
||||||
sync "sync"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -23,6 +36,10 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
// /////////////////////////////////base end/////////////////////////////////////
|
// /////////////////////////////////base end/////////////////////////////////////
|
||||||
type PullOrder int32
|
type PullOrder int32
|
||||||
|
|
||||||
@@ -75,23 +92,23 @@ type GroupInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`
|
||||||
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`
|
||||||
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`
|
||||||
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
MemberCount uint32 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount"`
|
MemberCount uint32 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount,omitempty"`
|
||||||
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID"`
|
CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID,omitempty"`
|
||||||
GroupType int32 `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType"`
|
GroupType int32 `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType,omitempty"`
|
||||||
NeedVerification int32 `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification"`
|
NeedVerification int32 `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification,omitempty"`
|
||||||
LookMemberInfo int32 `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
LookMemberInfo int32 `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo,omitempty"`
|
||||||
ApplyMemberFriend int32 `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
ApplyMemberFriend int32 `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend,omitempty"`
|
||||||
NotificationUpdateTime int64 `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime"`
|
NotificationUpdateTime int64 `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime,omitempty"`
|
||||||
NotificationUserID string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID"`
|
NotificationUserID string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfo) Reset() {
|
func (x *GroupInfo) Reset() {
|
||||||
@@ -250,15 +267,15 @@ type GroupInfoForSet struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`
|
||||||
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`
|
||||||
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction,omitempty"`
|
||||||
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
NeedVerification *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=needVerification,proto3" json:"needVerification"`
|
NeedVerification *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=needVerification,proto3" json:"needVerification,omitempty"`
|
||||||
LookMemberInfo *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
LookMemberInfo *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo,omitempty"`
|
||||||
ApplyMemberFriend *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
ApplyMemberFriend *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoForSet) Reset() {
|
func (x *GroupInfoForSet) Reset() {
|
||||||
@@ -361,18 +378,18 @@ type GroupMemberFullInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel"`
|
RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"`
|
||||||
JoinTime int64 `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime"`
|
JoinTime int64 `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime,omitempty"`
|
||||||
Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
||||||
FaceURL string `protobuf:"bytes,6,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,6,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
AppMangerLevel int32 `protobuf:"varint,7,opt,name=appMangerLevel,proto3" json:"appMangerLevel"` //if >0
|
AppMangerLevel int32 `protobuf:"varint,7,opt,name=appMangerLevel,proto3" json:"appMangerLevel,omitempty"` //if >0
|
||||||
JoinSource int32 `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource"`
|
JoinSource int32 `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource,omitempty"`
|
||||||
OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID,omitempty"`
|
||||||
Ex string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
MuteEndTime int64 `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime"`
|
MuteEndTime int64 `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime,omitempty"`
|
||||||
InviterUserID string `protobuf:"bytes,12,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
InviterUserID string `protobuf:"bytes,12,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberFullInfo) Reset() {
|
func (x *GroupMemberFullInfo) Reset() {
|
||||||
@@ -496,10 +513,10 @@ type PublicUserInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
||||||
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PublicUserInfo) Reset() {
|
func (x *PublicUserInfo) Reset() {
|
||||||
@@ -567,13 +584,13 @@ type UserInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
||||||
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
||||||
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
AppMangerLevel int32 `protobuf:"varint,6,opt,name=appMangerLevel,proto3" json:"appMangerLevel"`
|
AppMangerLevel int32 `protobuf:"varint,6,opt,name=appMangerLevel,proto3" json:"appMangerLevel,omitempty"`
|
||||||
GlobalRecvMsgOpt int32 `protobuf:"varint,7,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
GlobalRecvMsgOpt int32 `protobuf:"varint,7,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserInfo) Reset() {
|
func (x *UserInfo) Reset() {
|
||||||
@@ -662,13 +679,13 @@ type FriendInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark"`
|
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
FriendUser *UserInfo `protobuf:"bytes,4,opt,name=friendUser,proto3" json:"friendUser"`
|
FriendUser *UserInfo `protobuf:"bytes,4,opt,name=friendUser,proto3" json:"friendUser,omitempty"`
|
||||||
AddSource int32 `protobuf:"varint,5,opt,name=addSource,proto3" json:"addSource"`
|
AddSource int32 `protobuf:"varint,5,opt,name=addSource,proto3" json:"addSource,omitempty"`
|
||||||
OperatorUserID string `protobuf:"bytes,6,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,6,opt,name=operatorUserID,proto3" json:"operatorUserID,omitempty"`
|
||||||
Ex string `protobuf:"bytes,7,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,7,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendInfo) Reset() {
|
func (x *FriendInfo) Reset() {
|
||||||
@@ -757,12 +774,12 @@ type BlackInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
BlackUserInfo *PublicUserInfo `protobuf:"bytes,3,opt,name=blackUserInfo,proto3" json:"blackUserInfo"`
|
BlackUserInfo *PublicUserInfo `protobuf:"bytes,3,opt,name=blackUserInfo,proto3" json:"blackUserInfo,omitempty"`
|
||||||
AddSource int32 `protobuf:"varint,4,opt,name=addSource,proto3" json:"addSource"`
|
AddSource int32 `protobuf:"varint,4,opt,name=addSource,proto3" json:"addSource,omitempty"`
|
||||||
OperatorUserID string `protobuf:"bytes,5,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,5,opt,name=operatorUserID,proto3" json:"operatorUserID,omitempty"`
|
||||||
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BlackInfo) Reset() {
|
func (x *BlackInfo) Reset() {
|
||||||
@@ -844,17 +861,17 @@ type GroupRequest struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserInfo *PublicUserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo"`
|
UserInfo *PublicUserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"`
|
||||||
GroupInfo *GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
||||||
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult,omitempty"`
|
||||||
ReqMsg string `protobuf:"bytes,4,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,4,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"`
|
||||||
HandleMsg string `protobuf:"bytes,5,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,5,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
ReqTime int64 `protobuf:"varint,6,opt,name=reqTime,proto3" json:"reqTime"`
|
ReqTime int64 `protobuf:"varint,6,opt,name=reqTime,proto3" json:"reqTime,omitempty"`
|
||||||
HandleUserID string `protobuf:"bytes,7,opt,name=handleUserID,proto3" json:"handleUserID"`
|
HandleUserID string `protobuf:"bytes,7,opt,name=handleUserID,proto3" json:"handleUserID,omitempty"`
|
||||||
HandleTime int64 `protobuf:"varint,8,opt,name=handleTime,proto3" json:"handleTime"`
|
HandleTime int64 `protobuf:"varint,8,opt,name=handleTime,proto3" json:"handleTime,omitempty"`
|
||||||
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
JoinSource int32 `protobuf:"varint,10,opt,name=joinSource,proto3" json:"joinSource"`
|
JoinSource int32 `protobuf:"varint,10,opt,name=joinSource,proto3" json:"joinSource,omitempty"`
|
||||||
InviterUserID string `protobuf:"bytes,11,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
InviterUserID string `protobuf:"bytes,11,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupRequest) Reset() {
|
func (x *GroupRequest) Reset() {
|
||||||
@@ -971,19 +988,19 @@ type FriendRequest struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"`
|
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"`
|
||||||
FromNickname string `protobuf:"bytes,2,opt,name=fromNickname,proto3" json:"fromNickname"`
|
FromNickname string `protobuf:"bytes,2,opt,name=fromNickname,proto3" json:"fromNickname,omitempty"`
|
||||||
FromFaceURL string `protobuf:"bytes,3,opt,name=fromFaceURL,proto3" json:"fromFaceURL"`
|
FromFaceURL string `protobuf:"bytes,3,opt,name=fromFaceURL,proto3" json:"fromFaceURL,omitempty"`
|
||||||
ToUserID string `protobuf:"bytes,4,opt,name=toUserID,proto3" json:"toUserID"`
|
ToUserID string `protobuf:"bytes,4,opt,name=toUserID,proto3" json:"toUserID,omitempty"`
|
||||||
ToNickname string `protobuf:"bytes,5,opt,name=toNickname,proto3" json:"toNickname"`
|
ToNickname string `protobuf:"bytes,5,opt,name=toNickname,proto3" json:"toNickname,omitempty"`
|
||||||
ToFaceURL string `protobuf:"bytes,6,opt,name=toFaceURL,proto3" json:"toFaceURL"`
|
ToFaceURL string `protobuf:"bytes,6,opt,name=toFaceURL,proto3" json:"toFaceURL,omitempty"`
|
||||||
HandleResult int32 `protobuf:"varint,7,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,7,opt,name=handleResult,proto3" json:"handleResult,omitempty"`
|
||||||
ReqMsg string `protobuf:"bytes,8,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,8,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
HandlerUserID string `protobuf:"bytes,10,opt,name=handlerUserID,proto3" json:"handlerUserID"`
|
HandlerUserID string `protobuf:"bytes,10,opt,name=handlerUserID,proto3" json:"handlerUserID,omitempty"`
|
||||||
HandleMsg string `protobuf:"bytes,11,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,11,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
HandleTime int64 `protobuf:"varint,12,opt,name=handleTime,proto3" json:"handleTime"`
|
HandleTime int64 `protobuf:"varint,12,opt,name=handleTime,proto3" json:"handleTime,omitempty"`
|
||||||
Ex string `protobuf:"bytes,13,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,13,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendRequest) Reset() {
|
func (x *FriendRequest) Reset() {
|
||||||
@@ -1114,9 +1131,9 @@ type PullMessageBySeqsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
SeqRanges []*SeqRange `protobuf:"bytes,2,rep,name=seqRanges,proto3" json:"seqRanges"`
|
SeqRanges []*SeqRange `protobuf:"bytes,2,rep,name=seqRanges,proto3" json:"seqRanges,omitempty"`
|
||||||
Order PullOrder `protobuf:"varint,3,opt,name=order,proto3,enum=OpenIMServer.sdkws.PullOrder" json:"order"`
|
Order PullOrder `protobuf:"varint,3,opt,name=order,proto3,enum=OpenIMServer.sdkws.PullOrder" json:"order,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PullMessageBySeqsReq) Reset() {
|
func (x *PullMessageBySeqsReq) Reset() {
|
||||||
@@ -1177,10 +1194,10 @@ type SeqRange struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Begin int64 `protobuf:"varint,2,opt,name=begin,proto3" json:"begin"`
|
Begin int64 `protobuf:"varint,2,opt,name=begin,proto3" json:"begin,omitempty"`
|
||||||
End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end,omitempty"`
|
||||||
Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num"`
|
Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SeqRange) Reset() {
|
func (x *SeqRange) Reset() {
|
||||||
@@ -1248,8 +1265,8 @@ type PullMsgs struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Msgs []*MsgData `protobuf:"bytes,1,rep,name=Msgs,proto3" json:"Msgs"`
|
Msgs []*MsgData `protobuf:"bytes,1,rep,name=Msgs,proto3" json:"Msgs,omitempty"`
|
||||||
IsEnd bool `protobuf:"varint,2,opt,name=isEnd,proto3" json:"isEnd"`
|
IsEnd bool `protobuf:"varint,2,opt,name=isEnd,proto3" json:"isEnd,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PullMsgs) Reset() {
|
func (x *PullMsgs) Reset() {
|
||||||
@@ -1303,8 +1320,8 @@ type PullMessageBySeqsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Msgs map[string]*PullMsgs `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Msgs map[string]*PullMsgs `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
NotificationMsgs map[string]*PullMsgs `protobuf:"bytes,2,rep,name=notificationMsgs,proto3" json:"notificationMsgs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
NotificationMsgs map[string]*PullMsgs `protobuf:"bytes,2,rep,name=notificationMsgs,proto3" json:"notificationMsgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PullMessageBySeqsResp) Reset() {
|
func (x *PullMessageBySeqsResp) Reset() {
|
||||||
@@ -1358,7 +1375,7 @@ type GetMaxSeqReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetMaxSeqReq) Reset() {
|
func (x *GetMaxSeqReq) Reset() {
|
||||||
@@ -1405,8 +1422,8 @@ type GetMaxSeqResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MaxSeqs map[string]int64 `protobuf:"bytes,1,rep,name=maxSeqs,proto3" json:"maxSeqs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
MaxSeqs map[string]int64 `protobuf:"bytes,1,rep,name=maxSeqs,proto3" json:"maxSeqs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
MinSeqs map[string]int64 `protobuf:"bytes,2,rep,name=minSeqs,proto3" json:"minSeqs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
MinSeqs map[string]int64 `protobuf:"bytes,2,rep,name=minSeqs,proto3" json:"minSeqs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetMaxSeqResp) Reset() {
|
func (x *GetMaxSeqResp) Reset() {
|
||||||
@@ -1460,9 +1477,9 @@ type UserSendMsgResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID,omitempty"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`
|
||||||
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserSendMsgResp) Reset() {
|
func (x *UserSendMsgResp) Reset() {
|
||||||
@@ -1523,28 +1540,28 @@ type MsgData struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
SendID string `protobuf:"bytes,1,opt,name=sendID,proto3" json:"sendID"`
|
SendID string `protobuf:"bytes,1,opt,name=sendID,proto3" json:"sendID,omitempty"`
|
||||||
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID"`
|
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID,omitempty"`
|
||||||
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
||||||
ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`
|
||||||
ServerMsgID string `protobuf:"bytes,5,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,5,opt,name=serverMsgID,proto3" json:"serverMsgID,omitempty"`
|
||||||
SenderPlatformID int32 `protobuf:"varint,6,opt,name=senderPlatformID,proto3" json:"senderPlatformID"`
|
SenderPlatformID int32 `protobuf:"varint,6,opt,name=senderPlatformID,proto3" json:"senderPlatformID,omitempty"`
|
||||||
SenderNickname string `protobuf:"bytes,7,opt,name=senderNickname,proto3" json:"senderNickname"`
|
SenderNickname string `protobuf:"bytes,7,opt,name=senderNickname,proto3" json:"senderNickname,omitempty"`
|
||||||
SenderFaceURL string `protobuf:"bytes,8,opt,name=senderFaceURL,proto3" json:"senderFaceURL"`
|
SenderFaceURL string `protobuf:"bytes,8,opt,name=senderFaceURL,proto3" json:"senderFaceURL,omitempty"`
|
||||||
SessionType int32 `protobuf:"varint,9,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,9,opt,name=sessionType,proto3" json:"sessionType,omitempty"`
|
||||||
MsgFrom int32 `protobuf:"varint,10,opt,name=msgFrom,proto3" json:"msgFrom"`
|
MsgFrom int32 `protobuf:"varint,10,opt,name=msgFrom,proto3" json:"msgFrom,omitempty"`
|
||||||
ContentType int32 `protobuf:"varint,11,opt,name=contentType,proto3" json:"contentType"`
|
ContentType int32 `protobuf:"varint,11,opt,name=contentType,proto3" json:"contentType,omitempty"`
|
||||||
Content []byte `protobuf:"bytes,12,opt,name=content,proto3" json:"content"`
|
Content []byte `protobuf:"bytes,12,opt,name=content,proto3" json:"content,omitempty"`
|
||||||
Seq int64 `protobuf:"varint,14,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,14,opt,name=seq,proto3" json:"seq,omitempty"`
|
||||||
SendTime int64 `protobuf:"varint,15,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,15,opt,name=sendTime,proto3" json:"sendTime,omitempty"`
|
||||||
CreateTime int64 `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime,omitempty"`
|
||||||
Status int32 `protobuf:"varint,17,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,17,opt,name=status,proto3" json:"status,omitempty"`
|
||||||
IsRead bool `protobuf:"varint,18,opt,name=isRead,proto3" json:"isRead"`
|
IsRead bool `protobuf:"varint,18,opt,name=isRead,proto3" json:"isRead,omitempty"`
|
||||||
Options map[string]bool `protobuf:"bytes,19,rep,name=options,proto3" json:"options" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
Options map[string]bool `protobuf:"bytes,19,rep,name=options,proto3" json:"options,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,20,opt,name=offlinePushInfo,proto3" json:"offlinePushInfo"`
|
OfflinePushInfo *OfflinePushInfo `protobuf:"bytes,20,opt,name=offlinePushInfo,proto3" json:"offlinePushInfo,omitempty"`
|
||||||
AtUserIDList []string `protobuf:"bytes,21,rep,name=atUserIDList,proto3" json:"atUserIDList"`
|
AtUserIDList []string `protobuf:"bytes,21,rep,name=atUserIDList,proto3" json:"atUserIDList,omitempty"`
|
||||||
AttachedInfo string `protobuf:"bytes,22,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo string `protobuf:"bytes,22,opt,name=attachedInfo,proto3" json:"attachedInfo,omitempty"`
|
||||||
Ex string `protobuf:"bytes,23,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,23,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgData) Reset() {
|
func (x *MsgData) Reset() {
|
||||||
@@ -1738,8 +1755,8 @@ type PushMessages struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Msgs map[string]*PullMsgs `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
Msgs map[string]*PullMsgs `protobuf:"bytes,1,rep,name=msgs,proto3" json:"msgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
NotificationMsgs map[string]*PullMsgs `protobuf:"bytes,2,rep,name=notificationMsgs,proto3" json:"notificationMsgs" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
NotificationMsgs map[string]*PullMsgs `protobuf:"bytes,2,rep,name=notificationMsgs,proto3" json:"notificationMsgs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PushMessages) Reset() {
|
func (x *PushMessages) Reset() {
|
||||||
@@ -1793,12 +1810,12 @@ type OfflinePushInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title"`
|
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
|
||||||
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"`
|
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc,omitempty"`
|
||||||
Ex string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
IOSPushSound string `protobuf:"bytes,4,opt,name=iOSPushSound,proto3" json:"iOSPushSound"`
|
IOSPushSound string `protobuf:"bytes,4,opt,name=iOSPushSound,proto3" json:"iOSPushSound,omitempty"`
|
||||||
IOSBadgeCount bool `protobuf:"varint,5,opt,name=iOSBadgeCount,proto3" json:"iOSBadgeCount"`
|
IOSBadgeCount bool `protobuf:"varint,5,opt,name=iOSBadgeCount,proto3" json:"iOSBadgeCount,omitempty"`
|
||||||
SignalInfo string `protobuf:"bytes,6,opt,name=signalInfo,proto3" json:"signalInfo"`
|
SignalInfo string `protobuf:"bytes,6,opt,name=signalInfo,proto3" json:"signalInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OfflinePushInfo) Reset() {
|
func (x *OfflinePushInfo) Reset() {
|
||||||
@@ -1880,9 +1897,9 @@ type TipsComm struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Detail []byte `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"`
|
Detail []byte `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"`
|
||||||
DefaultTips string `protobuf:"bytes,2,opt,name=defaultTips,proto3" json:"defaultTips"`
|
DefaultTips string `protobuf:"bytes,2,opt,name=defaultTips,proto3" json:"defaultTips,omitempty"`
|
||||||
JsonDetail string `protobuf:"bytes,3,opt,name=jsonDetail,proto3" json:"jsonDetail"`
|
JsonDetail string `protobuf:"bytes,3,opt,name=jsonDetail,proto3" json:"jsonDetail,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TipsComm) Reset() {
|
func (x *TipsComm) Reset() {
|
||||||
@@ -1944,11 +1961,11 @@ type GroupCreatedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
MemberList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList"`
|
MemberList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
GroupOwnerUser *GroupMemberFullInfo `protobuf:"bytes,5,opt,name=groupOwnerUser,proto3" json:"groupOwnerUser"`
|
GroupOwnerUser *GroupMemberFullInfo `protobuf:"bytes,5,opt,name=groupOwnerUser,proto3" json:"groupOwnerUser,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupCreatedTips) Reset() {
|
func (x *GroupCreatedTips) Reset() {
|
||||||
@@ -2024,9 +2041,9 @@ type GroupInfoSetTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser"` //who do this
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser,omitempty"` //who do this
|
||||||
MuteTime int64 `protobuf:"varint,2,opt,name=muteTime,proto3" json:"muteTime"`
|
MuteTime int64 `protobuf:"varint,2,opt,name=muteTime,proto3" json:"muteTime,omitempty"`
|
||||||
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetTips) Reset() {
|
func (x *GroupInfoSetTips) Reset() {
|
||||||
@@ -2087,8 +2104,8 @@ type GroupInfoSetNameTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser"` //who do this
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser,omitempty"` //who do this
|
||||||
Group *GroupInfo `protobuf:"bytes,2,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetNameTips) Reset() {
|
func (x *GroupInfoSetNameTips) Reset() {
|
||||||
@@ -2142,8 +2159,8 @@ type GroupInfoSetAnnouncementTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser"` //who do this
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,1,opt,name=opUser,proto3" json:"opUser,omitempty"` //who do this
|
||||||
Group *GroupInfo `protobuf:"bytes,2,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,2,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetAnnouncementTips) Reset() {
|
func (x *GroupInfoSetAnnouncementTips) Reset() {
|
||||||
@@ -2198,9 +2215,9 @@ type JoinGroupApplicationTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
Applicant *PublicUserInfo `protobuf:"bytes,2,opt,name=applicant,proto3" json:"applicant"`
|
Applicant *PublicUserInfo `protobuf:"bytes,2,opt,name=applicant,proto3" json:"applicant,omitempty"`
|
||||||
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *JoinGroupApplicationTips) Reset() {
|
func (x *JoinGroupApplicationTips) Reset() {
|
||||||
@@ -2264,9 +2281,9 @@ type MemberQuitTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
QuitUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=quitUser,proto3" json:"quitUser"`
|
QuitUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=quitUser,proto3" json:"quitUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MemberQuitTips) Reset() {
|
func (x *MemberQuitTips) Reset() {
|
||||||
@@ -2328,10 +2345,10 @@ type GroupApplicationAcceptedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
ReceiverAs int32 `protobuf:"varint,5,opt,name=receiverAs,proto3" json:"receiverAs"` // admin(==1) or applicant(==0)
|
ReceiverAs int32 `protobuf:"varint,5,opt,name=receiverAs,proto3" json:"receiverAs,omitempty"` // admin(==1) or applicant(==0)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupApplicationAcceptedTips) Reset() {
|
func (x *GroupApplicationAcceptedTips) Reset() {
|
||||||
@@ -2400,10 +2417,10 @@ type GroupApplicationRejectedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
ReceiverAs int32 `protobuf:"varint,5,opt,name=receiverAs,proto3" json:"receiverAs"` // admin(==1) or applicant(==0)
|
ReceiverAs int32 `protobuf:"varint,5,opt,name=receiverAs,proto3" json:"receiverAs,omitempty"` // admin(==1) or applicant(==0)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupApplicationRejectedTips) Reset() {
|
func (x *GroupApplicationRejectedTips) Reset() {
|
||||||
@@ -2472,10 +2489,10 @@ type GroupOwnerTransferredTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
NewGroupOwner *GroupMemberFullInfo `protobuf:"bytes,3,opt,name=newGroupOwner,proto3" json:"newGroupOwner"`
|
NewGroupOwner *GroupMemberFullInfo `protobuf:"bytes,3,opt,name=newGroupOwner,proto3" json:"newGroupOwner,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupOwnerTransferredTips) Reset() {
|
func (x *GroupOwnerTransferredTips) Reset() {
|
||||||
@@ -2544,10 +2561,10 @@ type MemberKickedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
KickedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=kickedUserList,proto3" json:"kickedUserList"`
|
KickedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=kickedUserList,proto3" json:"kickedUserList,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MemberKickedTips) Reset() {
|
func (x *MemberKickedTips) Reset() {
|
||||||
@@ -2616,10 +2633,10 @@ type MemberInvitedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
InvitedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=invitedUserList,proto3" json:"invitedUserList"`
|
InvitedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=invitedUserList,proto3" json:"invitedUserList,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MemberInvitedTips) Reset() {
|
func (x *MemberInvitedTips) Reset() {
|
||||||
@@ -2688,9 +2705,9 @@ type MemberEnterTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
EntrantUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=entrantUser,proto3" json:"entrantUser"`
|
EntrantUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=entrantUser,proto3" json:"entrantUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MemberEnterTips) Reset() {
|
func (x *MemberEnterTips) Reset() {
|
||||||
@@ -2751,9 +2768,9 @@ type GroupDismissedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupDismissedTips) Reset() {
|
func (x *GroupDismissedTips) Reset() {
|
||||||
@@ -2814,11 +2831,11 @@ type GroupMemberMutedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser,omitempty"`
|
||||||
MutedSeconds uint32 `protobuf:"varint,5,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
MutedSeconds uint32 `protobuf:"varint,5,opt,name=mutedSeconds,proto3" json:"mutedSeconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberMutedTips) Reset() {
|
func (x *GroupMemberMutedTips) Reset() {
|
||||||
@@ -2893,10 +2910,10 @@ type GroupMemberCancelMutedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberCancelMutedTips) Reset() {
|
func (x *GroupMemberCancelMutedTips) Reset() {
|
||||||
@@ -2964,9 +2981,9 @@ type GroupMutedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMutedTips) Reset() {
|
func (x *GroupMutedTips) Reset() {
|
||||||
@@ -3027,9 +3044,9 @@ type GroupCancelMutedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupCancelMutedTips) Reset() {
|
func (x *GroupCancelMutedTips) Reset() {
|
||||||
@@ -3090,10 +3107,10 @@ type GroupMemberInfoSetTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
ChangedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=changedUser,proto3" json:"changedUser"`
|
ChangedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=changedUser,proto3" json:"changedUser,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberInfoSetTips) Reset() {
|
func (x *GroupMemberInfoSetTips) Reset() {
|
||||||
@@ -3161,9 +3178,9 @@ type FriendApplication struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
AddTime int64 `protobuf:"varint,1,opt,name=addTime,proto3" json:"addTime"`
|
AddTime int64 `protobuf:"varint,1,opt,name=addTime,proto3" json:"addTime,omitempty"`
|
||||||
AddSource string `protobuf:"bytes,2,opt,name=addSource,proto3" json:"addSource"`
|
AddSource string `protobuf:"bytes,2,opt,name=addSource,proto3" json:"addSource,omitempty"`
|
||||||
AddWording string `protobuf:"bytes,3,opt,name=addWording,proto3" json:"addWording"`
|
AddWording string `protobuf:"bytes,3,opt,name=addWording,proto3" json:"addWording,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplication) Reset() {
|
func (x *FriendApplication) Reset() {
|
||||||
@@ -3224,8 +3241,8 @@ type FromToUserID struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID"`
|
FromUserID string `protobuf:"bytes,1,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"`
|
||||||
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"`
|
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FromToUserID) Reset() {
|
func (x *FromToUserID) Reset() {
|
||||||
@@ -3280,7 +3297,7 @@ type FriendApplicationTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:发起者; to:接收者
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:发起者; to:接收者
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplicationTips) Reset() {
|
func (x *FriendApplicationTips) Reset() {
|
||||||
@@ -3328,8 +3345,8 @@ type FriendApplicationApprovedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:同意者;to:请求发起者
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:同意者;to:请求发起者
|
||||||
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplicationApprovedTips) Reset() {
|
func (x *FriendApplicationApprovedTips) Reset() {
|
||||||
@@ -3384,8 +3401,8 @@ type FriendApplicationRejectedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:拒绝者;to:请求发起者
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:拒绝者;to:请求发起者
|
||||||
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplicationRejectedTips) Reset() {
|
func (x *FriendApplicationRejectedTips) Reset() {
|
||||||
@@ -3440,9 +3457,9 @@ type FriendAddedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Friend *FriendInfo `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend"`
|
Friend *FriendInfo `protobuf:"bytes,1,opt,name=friend,proto3" json:"friend,omitempty"`
|
||||||
OperationTime int64 `protobuf:"varint,2,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,2,opt,name=operationTime,proto3" json:"operationTime,omitempty"`
|
||||||
OpUser *PublicUserInfo `protobuf:"bytes,3,opt,name=opUser,proto3" json:"opUser"` //who do this
|
OpUser *PublicUserInfo `protobuf:"bytes,3,opt,name=opUser,proto3" json:"opUser,omitempty"` //who do this
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendAddedTips) Reset() {
|
func (x *FriendAddedTips) Reset() {
|
||||||
@@ -3504,7 +3521,7 @@ type FriendDeletedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:owner; to:friend
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:owner; to:friend
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendDeletedTips) Reset() {
|
func (x *FriendDeletedTips) Reset() {
|
||||||
@@ -3551,7 +3568,7 @@ type BlackAddedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:owner; to:black
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:owner; to:black
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BlackAddedTips) Reset() {
|
func (x *BlackAddedTips) Reset() {
|
||||||
@@ -3598,7 +3615,7 @@ type BlackDeletedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:owner; to:black
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:owner; to:black
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BlackDeletedTips) Reset() {
|
func (x *BlackDeletedTips) Reset() {
|
||||||
@@ -3645,7 +3662,7 @@ type FriendInfoChangedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID"` //from:changed; to:friend
|
FromToUserID *FromToUserID `protobuf:"bytes,1,opt,name=fromToUserID,proto3" json:"fromToUserID,omitempty"` //from:changed; to:friend
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendInfoChangedTips) Reset() {
|
func (x *FriendInfoChangedTips) Reset() {
|
||||||
@@ -3693,7 +3710,7 @@ type UserInfoUpdatedTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserInfoUpdatedTips) Reset() {
|
func (x *UserInfoUpdatedTips) Reset() {
|
||||||
@@ -3741,8 +3758,8 @@ type ConversationUpdateTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
ConversationIDList []string `protobuf:"bytes,2,rep,name=conversationIDList,proto3" json:"conversationIDList"`
|
ConversationIDList []string `protobuf:"bytes,2,rep,name=conversationIDList,proto3" json:"conversationIDList,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationUpdateTips) Reset() {
|
func (x *ConversationUpdateTips) Reset() {
|
||||||
@@ -3796,9 +3813,9 @@ type ConversationSetPrivateTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
RecvID string `protobuf:"bytes,1,opt,name=recvID,proto3" json:"recvID"`
|
RecvID string `protobuf:"bytes,1,opt,name=recvID,proto3" json:"recvID,omitempty"`
|
||||||
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID"`
|
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID,omitempty"`
|
||||||
IsPrivate bool `protobuf:"varint,3,opt,name=isPrivate,proto3" json:"isPrivate"`
|
IsPrivate bool `protobuf:"varint,3,opt,name=isPrivate,proto3" json:"isPrivate,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationSetPrivateTips) Reset() {
|
func (x *ConversationSetPrivateTips) Reset() {
|
||||||
@@ -3859,10 +3876,10 @@ type ConversationHasReadTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq,omitempty"`
|
||||||
UnreadCountTime int64 `protobuf:"varint,4,opt,name=unreadCountTime,proto3" json:"unreadCountTime"`
|
UnreadCountTime int64 `protobuf:"varint,4,opt,name=unreadCountTime,proto3" json:"unreadCountTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationHasReadTips) Reset() {
|
func (x *ConversationHasReadTips) Reset() {
|
||||||
@@ -3930,7 +3947,7 @@ type NotificationElem struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Detail string `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"`
|
Detail string `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *NotificationElem) Reset() {
|
func (x *NotificationElem) Reset() {
|
||||||
@@ -3978,7 +3995,7 @@ type Seqs struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Seqs []int64 `protobuf:"varint,1,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,1,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Seqs) Reset() {
|
func (x *Seqs) Reset() {
|
||||||
@@ -4025,9 +4042,9 @@ type DeleteMessageTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OpUserID string `protobuf:"bytes,1,opt,name=opUserID,proto3" json:"opUserID"`
|
OpUserID string `protobuf:"bytes,1,opt,name=opUserID,proto3" json:"opUserID,omitempty"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMessageTips) Reset() {
|
func (x *DeleteMessageTips) Reset() {
|
||||||
@@ -4088,12 +4105,12 @@ type RevokeMsgTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
RevokerUserID string `protobuf:"bytes,1,opt,name=revokerUserID,proto3" json:"revokerUserID"`
|
RevokerUserID string `protobuf:"bytes,1,opt,name=revokerUserID,proto3" json:"revokerUserID,omitempty"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`
|
||||||
RevokeTime int64 `protobuf:"varint,3,opt,name=revokeTime,proto3" json:"revokeTime"`
|
RevokeTime int64 `protobuf:"varint,3,opt,name=revokeTime,proto3" json:"revokeTime,omitempty"`
|
||||||
SesstionType int32 `protobuf:"varint,5,opt,name=sesstionType,proto3" json:"sesstionType"`
|
SesstionType int32 `protobuf:"varint,5,opt,name=sesstionType,proto3" json:"sesstionType,omitempty"`
|
||||||
Seq int64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RevokeMsgTips) Reset() {
|
func (x *RevokeMsgTips) Reset() {
|
||||||
@@ -4175,17 +4192,17 @@ type MessageRevokedContent struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
RevokerID string `protobuf:"bytes,1,opt,name=revokerID,proto3" json:"revokerID"`
|
RevokerID string `protobuf:"bytes,1,opt,name=revokerID,proto3" json:"revokerID,omitempty"`
|
||||||
RevokerRole int32 `protobuf:"varint,2,opt,name=revokerRole,proto3" json:"revokerRole"`
|
RevokerRole int32 `protobuf:"varint,2,opt,name=revokerRole,proto3" json:"revokerRole,omitempty"`
|
||||||
ClientMsgID string `protobuf:"bytes,3,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,3,opt,name=clientMsgID,proto3" json:"clientMsgID,omitempty"`
|
||||||
RevokerNickname string `protobuf:"bytes,4,opt,name=revokerNickname,proto3" json:"revokerNickname"`
|
RevokerNickname string `protobuf:"bytes,4,opt,name=revokerNickname,proto3" json:"revokerNickname,omitempty"`
|
||||||
RevokeTime int64 `protobuf:"varint,5,opt,name=revokeTime,proto3" json:"revokeTime"`
|
RevokeTime int64 `protobuf:"varint,5,opt,name=revokeTime,proto3" json:"revokeTime,omitempty"`
|
||||||
SourceMessageSendTime int64 `protobuf:"varint,6,opt,name=sourceMessageSendTime,proto3" json:"sourceMessageSendTime"`
|
SourceMessageSendTime int64 `protobuf:"varint,6,opt,name=sourceMessageSendTime,proto3" json:"sourceMessageSendTime,omitempty"`
|
||||||
SourceMessageSendID string `protobuf:"bytes,7,opt,name=sourceMessageSendID,proto3" json:"sourceMessageSendID"`
|
SourceMessageSendID string `protobuf:"bytes,7,opt,name=sourceMessageSendID,proto3" json:"sourceMessageSendID,omitempty"`
|
||||||
SourceMessageSenderNickname string `protobuf:"bytes,8,opt,name=sourceMessageSenderNickname,proto3" json:"sourceMessageSenderNickname"`
|
SourceMessageSenderNickname string `protobuf:"bytes,8,opt,name=sourceMessageSenderNickname,proto3" json:"sourceMessageSenderNickname,omitempty"`
|
||||||
SessionType int32 `protobuf:"varint,10,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,10,opt,name=sessionType,proto3" json:"sessionType,omitempty"`
|
||||||
Seq int64 `protobuf:"varint,11,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,11,opt,name=seq,proto3" json:"seq,omitempty"`
|
||||||
Ex string `protobuf:"bytes,12,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,12,opt,name=ex,proto3" json:"ex,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageRevokedContent) Reset() {
|
func (x *MessageRevokedContent) Reset() {
|
||||||
@@ -4302,8 +4319,8 @@ type ClearConversationTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ClearConversationTips) Reset() {
|
func (x *ClearConversationTips) Reset() {
|
||||||
@@ -4357,9 +4374,9 @@ type DeleteMsgsTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgsTips) Reset() {
|
func (x *DeleteMsgsTips) Reset() {
|
||||||
@@ -4420,10 +4437,10 @@ type MarkAsReadTips struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MarkAsReadUserID string `protobuf:"bytes,1,opt,name=markAsReadUserID,proto3" json:"markAsReadUserID"`
|
MarkAsReadUserID string `protobuf:"bytes,1,opt,name=markAsReadUserID,proto3" json:"markAsReadUserID,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs,omitempty"`
|
||||||
HasReadSeq int64 `protobuf:"varint,4,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,4,opt,name=hasReadSeq,proto3" json:"hasReadSeq,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkAsReadTips) Reset() {
|
func (x *MarkAsReadTips) Reset() {
|
||||||
@@ -4491,8 +4508,8 @@ type SetAppBackgroundStatusReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
IsBackground bool `protobuf:"varint,2,opt,name=isBackground,proto3" json:"isBackground"`
|
IsBackground bool `protobuf:"varint,2,opt,name=isBackground,proto3" json:"isBackground,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetAppBackgroundStatusReq) Reset() {
|
func (x *SetAppBackgroundStatusReq) Reset() {
|
||||||
@@ -4584,8 +4601,8 @@ type RequestPagination struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber"`
|
PageNumber int32 `protobuf:"varint,1,opt,name=pageNumber,proto3" json:"pageNumber,omitempty"`
|
||||||
ShowNumber int32 `protobuf:"varint,2,opt,name=showNumber,proto3" json:"showNumber"`
|
ShowNumber int32 `protobuf:"varint,2,opt,name=showNumber,proto3" json:"showNumber,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RequestPagination) Reset() {
|
func (x *RequestPagination) Reset() {
|
||||||
|
|||||||
@@ -1,16 +1,30 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: statistics/statistics.proto
|
// source: statistics/statistics.proto
|
||||||
|
|
||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
proto "github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -20,6 +34,10 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
var File_statistics_statistics_proto protoreflect.FileDescriptor
|
var File_statistics_statistics_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
var file_statistics_statistics_proto_rawDesc = []byte{
|
var file_statistics_statistics_proto_rawDesc = []byte{
|
||||||
|
|||||||
+71
-53
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: third/third.proto
|
// source: third/third.proto
|
||||||
|
|
||||||
@@ -8,14 +22,14 @@ package third
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
proto "github.com/golang/protobuf/proto"
|
||||||
sync "sync"
|
|
||||||
|
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -25,13 +39,17 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type KeyValues struct {
|
type KeyValues struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key"`
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||||
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values"`
|
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *KeyValues) Reset() {
|
func (x *KeyValues) Reset() {
|
||||||
@@ -85,10 +103,10 @@ type SignPart struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PartNumber int32 `protobuf:"varint,1,opt,name=partNumber,proto3" json:"partNumber"`
|
PartNumber int32 `protobuf:"varint,1,opt,name=partNumber,proto3" json:"partNumber,omitempty"`
|
||||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
Query []*KeyValues `protobuf:"bytes,3,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,3,rep,name=query,proto3" json:"query,omitempty"`
|
||||||
Header []*KeyValues `protobuf:"bytes,4,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,4,rep,name=header,proto3" json:"header,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SignPart) Reset() {
|
func (x *SignPart) Reset() {
|
||||||
@@ -156,10 +174,10 @@ type AuthSignParts struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query,omitempty"`
|
||||||
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
|
||||||
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthSignParts) Reset() {
|
func (x *AuthSignParts) Reset() {
|
||||||
@@ -265,9 +283,9 @@ type PartLimitResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
MinPartSize int64 `protobuf:"varint,1,opt,name=minPartSize,proto3" json:"minPartSize"`
|
MinPartSize int64 `protobuf:"varint,1,opt,name=minPartSize,proto3" json:"minPartSize,omitempty"`
|
||||||
MaxPartSize int64 `protobuf:"varint,2,opt,name=maxPartSize,proto3" json:"maxPartSize"`
|
MaxPartSize int64 `protobuf:"varint,2,opt,name=maxPartSize,proto3" json:"maxPartSize,omitempty"`
|
||||||
MaxNumSize int32 `protobuf:"varint,3,opt,name=maxNumSize,proto3" json:"maxNumSize"`
|
MaxNumSize int32 `protobuf:"varint,3,opt,name=maxNumSize,proto3" json:"maxNumSize,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PartLimitResp) Reset() {
|
func (x *PartLimitResp) Reset() {
|
||||||
@@ -328,7 +346,7 @@ type PartSizeReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size"`
|
Size int64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PartSizeReq) Reset() {
|
func (x *PartSizeReq) Reset() {
|
||||||
@@ -375,7 +393,7 @@ type PartSizeResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PartSizeResp) Reset() {
|
func (x *PartSizeResp) Reset() {
|
||||||
@@ -422,13 +440,13 @@ type InitiateMultipartUploadReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash"`
|
Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
|
||||||
PartSize int64 `protobuf:"varint,3,opt,name=partSize,proto3" json:"partSize"`
|
PartSize int64 `protobuf:"varint,3,opt,name=partSize,proto3" json:"partSize,omitempty"`
|
||||||
MaxParts int32 `protobuf:"varint,4,opt,name=maxParts,proto3" json:"maxParts"`
|
MaxParts int32 `protobuf:"varint,4,opt,name=maxParts,proto3" json:"maxParts,omitempty"`
|
||||||
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause,omitempty"`
|
||||||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
ContentType string `protobuf:"bytes,7,opt,name=contentType,proto3" json:"contentType"`
|
ContentType string `protobuf:"bytes,7,opt,name=contentType,proto3" json:"contentType,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitiateMultipartUploadReq) Reset() {
|
func (x *InitiateMultipartUploadReq) Reset() {
|
||||||
@@ -517,10 +535,10 @@ type UploadInfo struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
|
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID,omitempty"`
|
||||||
PartSize int64 `protobuf:"varint,2,opt,name=partSize,proto3" json:"partSize"`
|
PartSize int64 `protobuf:"varint,2,opt,name=partSize,proto3" json:"partSize,omitempty"`
|
||||||
Sign *AuthSignParts `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign"`
|
Sign *AuthSignParts `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"`
|
||||||
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UploadInfo) Reset() {
|
func (x *UploadInfo) Reset() {
|
||||||
@@ -588,8 +606,8 @@ type InitiateMultipartUploadResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload"`
|
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *InitiateMultipartUploadResp) Reset() {
|
func (x *InitiateMultipartUploadResp) Reset() {
|
||||||
@@ -643,8 +661,8 @@ type AuthSignReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
|
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID,omitempty"`
|
||||||
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers"`
|
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthSignReq) Reset() {
|
func (x *AuthSignReq) Reset() {
|
||||||
@@ -698,10 +716,10 @@ type AuthSignResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query,omitempty"`
|
||||||
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty"`
|
||||||
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthSignResp) Reset() {
|
func (x *AuthSignResp) Reset() {
|
||||||
@@ -769,11 +787,11 @@ type CompleteMultipartUploadReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID"`
|
UploadID string `protobuf:"bytes,1,opt,name=uploadID,proto3" json:"uploadID,omitempty"`
|
||||||
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts"`
|
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts,omitempty"`
|
||||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType"`
|
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType,omitempty"`
|
||||||
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CompleteMultipartUploadReq) Reset() {
|
func (x *CompleteMultipartUploadReq) Reset() {
|
||||||
@@ -848,7 +866,7 @@ type CompleteMultipartUploadResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CompleteMultipartUploadResp) Reset() {
|
func (x *CompleteMultipartUploadResp) Reset() {
|
||||||
@@ -895,7 +913,7 @@ type AccessURLReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AccessURLReq) Reset() {
|
func (x *AccessURLReq) Reset() {
|
||||||
@@ -942,8 +960,8 @@ type AccessURLResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
|
||||||
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AccessURLResp) Reset() {
|
func (x *AccessURLResp) Reset() {
|
||||||
@@ -997,10 +1015,10 @@ type FcmUpdateTokenReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,1,opt,name=platformID,proto3" json:"platformID,omitempty"`
|
||||||
FcmToken string `protobuf:"bytes,2,opt,name=fcmToken,proto3" json:"fcmToken"`
|
FcmToken string `protobuf:"bytes,2,opt,name=fcmToken,proto3" json:"fcmToken,omitempty"`
|
||||||
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"`
|
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
|
||||||
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FcmUpdateTokenReq) Reset() {
|
func (x *FcmUpdateTokenReq) Reset() {
|
||||||
@@ -1106,8 +1124,8 @@ type SetAppBadgeReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
AppUnreadCount int32 `protobuf:"varint,2,opt,name=appUnreadCount,proto3" json:"appUnreadCount"`
|
AppUnreadCount int32 `protobuf:"varint,2,opt,name=appUnreadCount,proto3" json:"appUnreadCount,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetAppBadgeReq) Reset() {
|
func (x *SetAppBadgeReq) Reset() {
|
||||||
|
|||||||
+89
-72
@@ -1,6 +1,20 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: user/user.proto
|
// source: user/user.proto
|
||||||
|
|
||||||
@@ -8,17 +22,16 @@ package user
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
conversation "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/conversation"
|
||||||
sync "sync"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
|
proto "github.com/golang/protobuf/proto"
|
||||||
grpc "google.golang.org/grpc"
|
grpc "google.golang.org/grpc"
|
||||||
codes "google.golang.org/grpc/codes"
|
codes "google.golang.org/grpc/codes"
|
||||||
status "google.golang.org/grpc/status"
|
status "google.golang.org/grpc/status"
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
conversation "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/conversation"
|
sync "sync"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -28,12 +41,16 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
type GetAllUserIDReq struct {
|
type GetAllUserIDReq struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllUserIDReq) Reset() {
|
func (x *GetAllUserIDReq) Reset() {
|
||||||
@@ -80,8 +97,8 @@ type GetAllUserIDResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllUserIDResp) Reset() {
|
func (x *GetAllUserIDResp) Reset() {
|
||||||
@@ -135,7 +152,7 @@ type AccountCheckReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
CheckUserIDs []string `protobuf:"bytes,1,rep,name=checkUserIDs,proto3" json:"checkUserIDs"`
|
CheckUserIDs []string `protobuf:"bytes,1,rep,name=checkUserIDs,proto3" json:"checkUserIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AccountCheckReq) Reset() {
|
func (x *AccountCheckReq) Reset() {
|
||||||
@@ -182,7 +199,7 @@ type AccountCheckResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Results []*AccountCheckRespSingleUserStatus `protobuf:"bytes,1,rep,name=results,proto3" json:"results"`
|
Results []*AccountCheckRespSingleUserStatus `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AccountCheckResp) Reset() {
|
func (x *AccountCheckResp) Reset() {
|
||||||
@@ -229,7 +246,7 @@ type GetDesignateUsersReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetDesignateUsersReq) Reset() {
|
func (x *GetDesignateUsersReq) Reset() {
|
||||||
@@ -276,7 +293,7 @@ type GetDesignateUsersResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UsersInfo []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=usersInfo,proto3" json:"usersInfo"`
|
UsersInfo []*sdkws.UserInfo `protobuf:"bytes,1,rep,name=usersInfo,proto3" json:"usersInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetDesignateUsersResp) Reset() {
|
func (x *GetDesignateUsersResp) Reset() {
|
||||||
@@ -323,7 +340,7 @@ type UpdateUserInfoReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserInfo *sdkws.UserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo"`
|
UserInfo *sdkws.UserInfo `protobuf:"bytes,1,opt,name=userInfo,proto3" json:"userInfo,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UpdateUserInfoReq) Reset() {
|
func (x *UpdateUserInfoReq) Reset() {
|
||||||
@@ -408,8 +425,8 @@ type SetGlobalRecvMessageOptReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetGlobalRecvMessageOptReq) Reset() {
|
func (x *SetGlobalRecvMessageOptReq) Reset() {
|
||||||
@@ -501,9 +518,9 @@ type SetConversationReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *conversation.Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
||||||
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationReq) Reset() {
|
func (x *SetConversationReq) Reset() {
|
||||||
@@ -602,11 +619,11 @@ type SetRecvMsgOptReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt,omitempty"`
|
||||||
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetRecvMsgOptReq) Reset() {
|
func (x *SetRecvMsgOptReq) Reset() {
|
||||||
@@ -719,9 +736,9 @@ type GetConversationReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,1,opt,name=conversationID,proto3" json:"conversationID,omitempty"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationReq) Reset() {
|
func (x *GetConversationReq) Reset() {
|
||||||
@@ -782,7 +799,7 @@ type GetConversationResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *conversation.Conversation `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationResp) Reset() {
|
func (x *GetConversationResp) Reset() {
|
||||||
@@ -829,9 +846,9 @@ type GetConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsReq) Reset() {
|
func (x *GetConversationsReq) Reset() {
|
||||||
@@ -892,7 +909,7 @@ type GetConversationsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsResp) Reset() {
|
func (x *GetConversationsResp) Reset() {
|
||||||
@@ -939,8 +956,8 @@ type GetAllConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,1,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,2,opt,name=operationID,proto3" json:"operationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllConversationsReq) Reset() {
|
func (x *GetAllConversationsReq) Reset() {
|
||||||
@@ -994,7 +1011,7 @@ type GetAllConversationsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*conversation.Conversation `protobuf:"bytes,2,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetAllConversationsResp) Reset() {
|
func (x *GetAllConversationsResp) Reset() {
|
||||||
@@ -1041,10 +1058,10 @@ type BatchSetConversationsReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations"`
|
Conversations []*conversation.Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID,omitempty"`
|
||||||
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType,omitempty"`
|
||||||
OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID"`
|
OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BatchSetConversationsReq) Reset() {
|
func (x *BatchSetConversationsReq) Reset() {
|
||||||
@@ -1112,8 +1129,8 @@ type BatchSetConversationsResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Success []string `protobuf:"bytes,2,rep,name=Success,proto3" json:"Success"`
|
Success []string `protobuf:"bytes,2,rep,name=Success,proto3" json:"Success,omitempty"`
|
||||||
Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed"`
|
Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BatchSetConversationsResp) Reset() {
|
func (x *BatchSetConversationsResp) Reset() {
|
||||||
@@ -1167,7 +1184,7 @@ type GetPaginationUsersReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationUsersReq) Reset() {
|
func (x *GetPaginationUsersReq) Reset() {
|
||||||
@@ -1214,8 +1231,8 @@ type GetPaginationUsersResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationUsersResp) Reset() {
|
func (x *GetPaginationUsersResp) Reset() {
|
||||||
@@ -1269,8 +1286,8 @@ type UserRegisterReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret"`
|
Secret string `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
|
||||||
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterReq) Reset() {
|
func (x *UserRegisterReq) Reset() {
|
||||||
@@ -1362,7 +1379,7 @@ type GetGlobalRecvMessageOptReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGlobalRecvMessageOptReq) Reset() {
|
func (x *GetGlobalRecvMessageOptReq) Reset() {
|
||||||
@@ -1409,7 +1426,7 @@ type GetGlobalRecvMessageOptResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
GlobalRecvMsgOpt int32 `protobuf:"varint,1,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
GlobalRecvMsgOpt int32 `protobuf:"varint,1,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetGlobalRecvMessageOptResp) Reset() {
|
func (x *GetGlobalRecvMessageOptResp) Reset() {
|
||||||
@@ -1456,8 +1473,8 @@ type UserRegisterCountReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start"`
|
Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterCountReq) Reset() {
|
func (x *UserRegisterCountReq) Reset() {
|
||||||
@@ -1511,9 +1528,9 @@ type UserRegisterCountResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
||||||
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before"`
|
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
|
||||||
Count map[string]int64 `protobuf:"bytes,3,rep,name=count,proto3" json:"count" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
Count map[string]int64 `protobuf:"bytes,3,rep,name=count,proto3" json:"count,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterCountResp) Reset() {
|
func (x *UserRegisterCountResp) Reset() {
|
||||||
@@ -1574,8 +1591,8 @@ type AccountCheckRespSingleUserStatus struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
||||||
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus"`
|
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AccountCheckRespSingleUserStatus) Reset() {
|
func (x *AccountCheckRespSingleUserStatus) Reset() {
|
||||||
@@ -2376,21 +2393,21 @@ const _ = grpc.SupportPackageIsVersion6
|
|||||||
//
|
//
|
||||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||||
type UserClient interface {
|
type UserClient interface {
|
||||||
// 获取指定的用户信息 全字段
|
//获取指定的用户信息 全字段
|
||||||
GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error)
|
GetDesignateUsers(ctx context.Context, in *GetDesignateUsersReq, opts ...grpc.CallOption) (*GetDesignateUsersResp, error)
|
||||||
// 更新用户信息
|
//更新用户信息
|
||||||
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
|
UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error)
|
||||||
// 设置用户消息接收选项
|
//设置用户消息接收选项
|
||||||
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
|
SetGlobalRecvMessageOpt(ctx context.Context, in *SetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*SetGlobalRecvMessageOptResp, error)
|
||||||
// 获取用户消息接收选项 没找到不返回错误
|
//获取用户消息接收选项 没找到不返回错误
|
||||||
GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error)
|
GetGlobalRecvMessageOpt(ctx context.Context, in *GetGlobalRecvMessageOptReq, opts ...grpc.CallOption) (*GetGlobalRecvMessageOptResp, error)
|
||||||
// 检查userID是否存在
|
//检查userID是否存在
|
||||||
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
|
AccountCheck(ctx context.Context, in *AccountCheckReq, opts ...grpc.CallOption) (*AccountCheckResp, error)
|
||||||
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
//翻页(或指定userID,昵称)拉取用户信息 全字段
|
||||||
GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error)
|
GetPaginationUsers(ctx context.Context, in *GetPaginationUsersReq, opts ...grpc.CallOption) (*GetPaginationUsersResp, error)
|
||||||
// 用户注册
|
//用户注册
|
||||||
UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error)
|
UserRegister(ctx context.Context, in *UserRegisterReq, opts ...grpc.CallOption) (*UserRegisterResp, error)
|
||||||
// 获取所有用户ID
|
//获取所有用户ID
|
||||||
GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error)
|
GetAllUserID(ctx context.Context, in *GetAllUserIDReq, opts ...grpc.CallOption) (*GetAllUserIDResp, error)
|
||||||
// 获取用户总数和指定时间段内的用户增量
|
// 获取用户总数和指定时间段内的用户增量
|
||||||
UserRegisterCount(ctx context.Context, in *UserRegisterCountReq, opts ...grpc.CallOption) (*UserRegisterCountResp, error)
|
UserRegisterCount(ctx context.Context, in *UserRegisterCountReq, opts ...grpc.CallOption) (*UserRegisterCountResp, error)
|
||||||
@@ -2487,21 +2504,21 @@ func (c *userClient) UserRegisterCount(ctx context.Context, in *UserRegisterCoun
|
|||||||
|
|
||||||
// UserServer is the server API for User service.
|
// UserServer is the server API for User service.
|
||||||
type UserServer interface {
|
type UserServer interface {
|
||||||
// 获取指定的用户信息 全字段
|
//获取指定的用户信息 全字段
|
||||||
GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
|
GetDesignateUsers(context.Context, *GetDesignateUsersReq) (*GetDesignateUsersResp, error)
|
||||||
// 更新用户信息
|
//更新用户信息
|
||||||
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
|
UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error)
|
||||||
// 设置用户消息接收选项
|
//设置用户消息接收选项
|
||||||
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
|
SetGlobalRecvMessageOpt(context.Context, *SetGlobalRecvMessageOptReq) (*SetGlobalRecvMessageOptResp, error)
|
||||||
// 获取用户消息接收选项 没找到不返回错误
|
//获取用户消息接收选项 没找到不返回错误
|
||||||
GetGlobalRecvMessageOpt(context.Context, *GetGlobalRecvMessageOptReq) (*GetGlobalRecvMessageOptResp, error)
|
GetGlobalRecvMessageOpt(context.Context, *GetGlobalRecvMessageOptReq) (*GetGlobalRecvMessageOptResp, error)
|
||||||
// 检查userID是否存在
|
//检查userID是否存在
|
||||||
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
|
AccountCheck(context.Context, *AccountCheckReq) (*AccountCheckResp, error)
|
||||||
// 翻页(或指定userID,昵称)拉取用户信息 全字段
|
//翻页(或指定userID,昵称)拉取用户信息 全字段
|
||||||
GetPaginationUsers(context.Context, *GetPaginationUsersReq) (*GetPaginationUsersResp, error)
|
GetPaginationUsers(context.Context, *GetPaginationUsersReq) (*GetPaginationUsersResp, error)
|
||||||
// 用户注册
|
//用户注册
|
||||||
UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
|
UserRegister(context.Context, *UserRegisterReq) (*UserRegisterResp, error)
|
||||||
// 获取所有用户ID
|
//获取所有用户ID
|
||||||
GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error)
|
GetAllUserID(context.Context, *GetAllUserIDReq) (*GetAllUserIDResp, error)
|
||||||
// 获取用户总数和指定时间段内的用户增量
|
// 获取用户总数和指定时间段内的用户增量
|
||||||
UserRegisterCount(context.Context, *UserRegisterCountReq) (*UserRegisterCountResp, error)
|
UserRegisterCount(context.Context, *UserRegisterCountReq) (*UserRegisterCountResp, error)
|
||||||
|
|||||||
@@ -1,17 +1,31 @@
|
|||||||
|
// Copyright © 2023 OpenIM. All rights reserved.
|
||||||
|
//
|
||||||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
// you may not use this file except in compliance with the License.
|
||||||
|
// You may obtain a copy of the License at
|
||||||
|
//
|
||||||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
//
|
||||||
|
// Unless required by applicable law or agreed to in writing, software
|
||||||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
// See the License for the specific language governing permissions and
|
||||||
|
// limitations under the License.
|
||||||
|
|
||||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
// versions:
|
// versions:
|
||||||
// protoc-gen-go v1.29.1
|
// protoc-gen-go v1.25.0
|
||||||
// protoc v4.22.0
|
// protoc v4.22.0
|
||||||
// source: wrapperspb/wrapperspb.proto
|
// source: wrapperspb/wrapperspb.proto
|
||||||
|
|
||||||
package wrapperspb
|
package wrapperspb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
proto "github.com/golang/protobuf/proto"
|
||||||
sync "sync"
|
|
||||||
|
|
||||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@@ -21,6 +35,10 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||||
|
// of the legacy proto package is being used.
|
||||||
|
const _ = proto.ProtoPackageIsVersion4
|
||||||
|
|
||||||
// Wrapper message for `double`.
|
// Wrapper message for `double`.
|
||||||
//
|
//
|
||||||
// The JSON representation for `DoubleValue` is JSON number.
|
// The JSON representation for `DoubleValue` is JSON number.
|
||||||
@@ -30,7 +48,7 @@ type DoubleValue struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The double value.
|
// The double value.
|
||||||
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value"`
|
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DoubleValue) Reset() {
|
func (x *DoubleValue) Reset() {
|
||||||
@@ -81,7 +99,7 @@ type FloatValue struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The float value.
|
// The float value.
|
||||||
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value"`
|
Value float32 `protobuf:"fixed32,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FloatValue) Reset() {
|
func (x *FloatValue) Reset() {
|
||||||
@@ -132,7 +150,7 @@ type Int64Value struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The int64 value.
|
// The int64 value.
|
||||||
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
|
Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Int64Value) Reset() {
|
func (x *Int64Value) Reset() {
|
||||||
@@ -183,7 +201,7 @@ type UInt64Value struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The uint64 value.
|
// The uint64 value.
|
||||||
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
|
Value uint64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UInt64Value) Reset() {
|
func (x *UInt64Value) Reset() {
|
||||||
@@ -234,7 +252,7 @@ type Int32Value struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The int32 value.
|
// The int32 value.
|
||||||
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
|
Value int32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Int32Value) Reset() {
|
func (x *Int32Value) Reset() {
|
||||||
@@ -285,7 +303,7 @@ type UInt32Value struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The uint32 value.
|
// The uint32 value.
|
||||||
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
|
Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UInt32Value) Reset() {
|
func (x *UInt32Value) Reset() {
|
||||||
@@ -336,7 +354,7 @@ type BoolValue struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The bool value.
|
// The bool value.
|
||||||
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value"`
|
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BoolValue) Reset() {
|
func (x *BoolValue) Reset() {
|
||||||
@@ -387,7 +405,7 @@ type StringValue struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The string value.
|
// The string value.
|
||||||
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value"`
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *StringValue) Reset() {
|
func (x *StringValue) Reset() {
|
||||||
@@ -438,7 +456,7 @@ type BytesValue struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
// The bytes value.
|
// The bytes value.
|
||||||
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value"`
|
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BytesValue) Reset() {
|
func (x *BytesValue) Reset() {
|
||||||
|
|||||||
Reference in New Issue
Block a user