mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-19 12:47:06 +08:00
new feat: sync designated model
This commit is contained in:
parent
79db8762af
commit
f5ed647ad7
@ -44,6 +44,10 @@ func (o *FriendApi) GetFriendApplyList(c *gin.Context) {
|
|||||||
a2r.Call(friend.FriendClient.GetPaginationFriendsApplyTo, o.Client, c)
|
a2r.Call(friend.FriendClient.GetPaginationFriendsApplyTo, o.Client, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *FriendApi) GetDesignatedFriendsApply(c *gin.Context) {
|
||||||
|
a2r.Call(friend.FriendClient.GetDesignatedFriendsApply, o.Client, c)
|
||||||
|
}
|
||||||
|
|
||||||
func (o *FriendApi) GetSelfApplyList(c *gin.Context) {
|
func (o *FriendApi) GetSelfApplyList(c *gin.Context) {
|
||||||
a2r.Call(friend.FriendClient.GetPaginationFriendsApplyFrom, o.Client, c)
|
a2r.Call(friend.FriendClient.GetPaginationFriendsApplyFrom, o.Client, c)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -60,6 +60,10 @@ func (o *GroupApi) GetUserReqGroupApplicationList(c *gin.Context) {
|
|||||||
a2r.Call(group.GroupClient.GetUserReqApplicationList, o.Client, c)
|
a2r.Call(group.GroupClient.GetUserReqApplicationList, o.Client, c)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (o *GroupApi) GetGroupUsersReqApplicationList(c *gin.Context) {
|
||||||
|
a2r.Call(group.GroupClient.GetGroupUsersReqApplicationList, o.Client, c)
|
||||||
|
}
|
||||||
|
|
||||||
func (o *GroupApi) GetGroupsInfo(c *gin.Context) {
|
func (o *GroupApi) GetGroupsInfo(c *gin.Context) {
|
||||||
a2r.Call(group.GroupClient.GetGroupsInfo, o.Client, c)
|
a2r.Call(group.GroupClient.GetGroupsInfo, o.Client, c)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -78,6 +78,7 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
|
|||||||
f := NewFriendApi(*friendRpc)
|
f := NewFriendApi(*friendRpc)
|
||||||
friendRouterGroup.POST("/delete_friend", f.DeleteFriend)
|
friendRouterGroup.POST("/delete_friend", f.DeleteFriend)
|
||||||
friendRouterGroup.POST("/get_friend_apply_list", f.GetFriendApplyList)
|
friendRouterGroup.POST("/get_friend_apply_list", f.GetFriendApplyList)
|
||||||
|
friendRouterGroup.POST("/get_designated_friend_apply", f.GetDesignatedFriendsApply)
|
||||||
friendRouterGroup.POST("/get_self_friend_apply_list", f.GetSelfApplyList)
|
friendRouterGroup.POST("/get_self_friend_apply_list", f.GetSelfApplyList)
|
||||||
friendRouterGroup.POST("/get_friend_list", f.GetFriendList)
|
friendRouterGroup.POST("/get_friend_list", f.GetFriendList)
|
||||||
friendRouterGroup.POST("/add_friend", f.ApplyToAddFriend)
|
friendRouterGroup.POST("/add_friend", f.ApplyToAddFriend)
|
||||||
@ -100,6 +101,7 @@ func NewGinRouter(discov discoveryregistry.SvcDiscoveryRegistry, rdb redis.Unive
|
|||||||
groupRouterGroup.POST("/transfer_group", g.TransferGroupOwner)
|
groupRouterGroup.POST("/transfer_group", g.TransferGroupOwner)
|
||||||
groupRouterGroup.POST("/get_recv_group_applicationList", g.GetRecvGroupApplicationList)
|
groupRouterGroup.POST("/get_recv_group_applicationList", g.GetRecvGroupApplicationList)
|
||||||
groupRouterGroup.POST("/get_user_req_group_applicationList", g.GetUserReqGroupApplicationList)
|
groupRouterGroup.POST("/get_user_req_group_applicationList", g.GetUserReqGroupApplicationList)
|
||||||
|
groupRouterGroup.POST("/get_group_users_req_application_list", g.GetGroupUsersReqApplicationList)
|
||||||
groupRouterGroup.POST("/get_groups_info", g.GetGroupsInfo)
|
groupRouterGroup.POST("/get_groups_info", g.GetGroupsInfo)
|
||||||
groupRouterGroup.POST("/kick_group", g.KickGroupMember)
|
groupRouterGroup.POST("/kick_group", g.KickGroupMember)
|
||||||
groupRouterGroup.POST("/get_group_members_info", g.GetGroupMembersInfo)
|
groupRouterGroup.POST("/get_group_members_info", g.GetGroupMembersInfo)
|
||||||
|
|||||||
@ -106,7 +106,7 @@ func (c *conversationServer) SetConversation(ctx context.Context, req *pbConvers
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
_ = c.conversationNotificationSender.ConversationChangeNotification(ctx, req.Conversation.OwnerUserID)
|
_ = c.conversationNotificationSender.ConversationChangeNotification(ctx, req.Conversation.OwnerUserID, []string{req.Conversation.ConversationID})
|
||||||
resp := &pbConversation.SetConversationResp{}
|
resp := &pbConversation.SetConversationResp{}
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
@ -169,7 +169,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbConver
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, userID := range req.UserIDs {
|
for _, userID := range req.UserIDs {
|
||||||
c.conversationNotificationSender.ConversationSetPrivateNotification(ctx, userID, req.Conversation.UserID, req.Conversation.IsPrivateChat.Value)
|
c.conversationNotificationSender.ConversationSetPrivateNotification(ctx, userID, req.Conversation.UserID, req.Conversation.IsPrivateChat.Value, req.Conversation.ConversationID)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if req.Conversation.BurnDuration != nil {
|
if req.Conversation.BurnDuration != nil {
|
||||||
@ -180,7 +180,7 @@ func (c *conversationServer) SetConversations(ctx context.Context, req *pbConver
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
for _, v := range req.UserIDs {
|
for _, v := range req.UserIDs {
|
||||||
c.conversationNotificationSender.ConversationChangeNotification(ctx, v)
|
c.conversationNotificationSender.ConversationChangeNotification(ctx, v, []string{req.Conversation.ConversationID})
|
||||||
}
|
}
|
||||||
return &pbConversation.SetConversationsResp{}, nil
|
return &pbConversation.SetConversationsResp{}, nil
|
||||||
}
|
}
|
||||||
|
|||||||
@ -240,6 +240,18 @@ func (s *friendServer) GetDesignatedFriends(
|
|||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *friendServer) GetDesignatedFriendsApply(ctx context.Context, req *pbfriend.GetDesignatedFriendsApplyReq) (resp *pbfriend.GetDesignatedFriendsApplyResp, err error) {
|
||||||
|
friendRequests, err := s.friendDatabase.FindBothFriendRequests(ctx, req.FromUserID, req.ToUserID)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
resp.FriendRequests, err = convert.FriendRequestDB2Pb(ctx, friendRequests, s.userRpcClient.GetUsersInfoMap)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return resp, nil
|
||||||
|
}
|
||||||
|
|
||||||
// ok 获取接收到的好友申请(即别人主动申请的).
|
// ok 获取接收到的好友申请(即别人主动申请的).
|
||||||
func (s *friendServer) GetPaginationFriendsApplyTo(
|
func (s *friendServer) GetPaginationFriendsApplyTo(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
@ -300,7 +312,6 @@ func (s *friendServer) IsFriend(
|
|||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// ok.
|
|
||||||
func (s *friendServer) GetPaginationFriends(
|
func (s *friendServer) GetPaginationFriends(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *pbfriend.GetPaginationFriendsReq,
|
req *pbfriend.GetPaginationFriendsReq,
|
||||||
|
|||||||
@ -1441,3 +1441,8 @@ func (s *groupServer) GetGroupMemberRoleLevel(ctx context.Context, req *pbGroup.
|
|||||||
})
|
})
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (s *groupServer) GetGroupUsersReqApplicationList(ctx context.Context, req *pbGroup.GetGroupUsersReqApplicationListReq) (*pbGroup.GetGroupUsersReqApplicationListResp, error) {
|
||||||
|
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|||||||
@ -75,6 +75,7 @@ type FriendDatabase interface {
|
|||||||
friendUserIDs []string,
|
friendUserIDs []string,
|
||||||
) (friends []*relation.FriendModel, err error)
|
) (friends []*relation.FriendModel, err error)
|
||||||
FindFriendUserIDs(ctx context.Context, ownerUserID string) (friendUserIDs []string, err error)
|
FindFriendUserIDs(ctx context.Context, ownerUserID string) (friendUserIDs []string, err error)
|
||||||
|
FindBothFriendRequests(ctx context.Context, fromUserID, toUserID string) (friends []*relation.FriendRequestModel, err error)
|
||||||
}
|
}
|
||||||
|
|
||||||
type friendDatabase struct {
|
type friendDatabase struct {
|
||||||
@ -363,3 +364,7 @@ func (f *friendDatabase) FindFriendUserIDs(
|
|||||||
) (friendUserIDs []string, err error) {
|
) (friendUserIDs []string, err error) {
|
||||||
return f.cache.GetFriendIDs(ctx, ownerUserID)
|
return f.cache.GetFriendIDs(ctx, ownerUserID)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f *friendDatabase) FindBothFriendRequests(ctx context.Context, fromUserID, toUserID string) (friends []*relation.FriendRequestModel, err error) {
|
||||||
|
return f.friendRequest.FindBothFriendRequests(ctx, fromUserID, toUserID)
|
||||||
|
}
|
||||||
|
|||||||
@ -110,6 +110,7 @@ type GroupDatabase interface {
|
|||||||
// GroupRequest
|
// GroupRequest
|
||||||
CreateGroupRequest(ctx context.Context, requests []*relationTb.GroupRequestModel) error
|
CreateGroupRequest(ctx context.Context, requests []*relationTb.GroupRequestModel) error
|
||||||
TakeGroupRequest(ctx context.Context, groupID string, userID string) (*relationTb.GroupRequestModel, error)
|
TakeGroupRequest(ctx context.Context, groupID string, userID string) (*relationTb.GroupRequestModel, error)
|
||||||
|
FindGroupReuests(ctx context.Context, groupID string, userIDs []string) ([]*relationTb.GroupRequestModel, error)
|
||||||
PageGroupRequestUser(
|
PageGroupRequestUser(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
userID string,
|
userID string,
|
||||||
@ -576,3 +577,7 @@ func (g *groupDatabase) CountTotal(ctx context.Context, before *time.Time) (coun
|
|||||||
func (g *groupDatabase) CountRangeEverydayTotal(ctx context.Context, start time.Time, end time.Time) (map[string]int64, error) {
|
func (g *groupDatabase) CountRangeEverydayTotal(ctx context.Context, start time.Time, end time.Time) (map[string]int64, error) {
|
||||||
return g.groupDB.CountRangeEverydayTotal(ctx, start, end)
|
return g.groupDB.CountRangeEverydayTotal(ctx, start, end)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (g *groupDatabase) FindGroupReuests(ctx context.Context, groupID string, userIDs []string) ([]*relationTb.GroupRequestModel, error) {
|
||||||
|
return g.groupRequestDB.FindGroupReuests(ctx, groupID, userIDs)
|
||||||
|
}
|
||||||
|
|||||||
@ -147,3 +147,14 @@ func (f *FriendRequestGorm) FindFromUserID(
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (f *FriendRequestGorm) FindBothFriendRequests(ctx context.Context, fromUserID, toUserID string) (friends []*relation.FriendRequestModel, err error) {
|
||||||
|
err = utils.Wrap(
|
||||||
|
f.db(ctx).
|
||||||
|
Where("(from_user_id = ? AND to_user_id = ?) OR (from_user_id = ? AND to_user_id = ?)", fromUserID, toUserID, toUserID, fromUserID).
|
||||||
|
Find(&friends).
|
||||||
|
Error,
|
||||||
|
"",
|
||||||
|
)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|||||||
@ -110,3 +110,13 @@ func (g *GroupRequestGorm) PageGroup(
|
|||||||
showNumber,
|
showNumber,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (g *GroupRequestGorm) FindGroupReuests(ctx context.Context, groupID string, userIDs []string) (groupRequests []*relation.GroupRequestModel, err error) {
|
||||||
|
return groupRequests, utils.Wrap(
|
||||||
|
g.DB.WithContext(ctx).
|
||||||
|
Where("group_id = ? and user_id in ?", groupID, userIDs).
|
||||||
|
Find(&groupRequests).
|
||||||
|
Error,
|
||||||
|
utils.GetSelfFuncName(),
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|||||||
@ -61,6 +61,6 @@ type FriendRequestModelInterface interface {
|
|||||||
fromUserID string,
|
fromUserID string,
|
||||||
pageNumber, showNumber int32,
|
pageNumber, showNumber int32,
|
||||||
) (friendRequests []*FriendRequestModel, total int64, err error)
|
) (friendRequests []*FriendRequestModel, total int64, err error)
|
||||||
|
FindBothFriendRequests(ctx context.Context, fromUserID, toUserID string) (friends []*FriendRequestModel, err error)
|
||||||
NewTx(tx any) FriendRequestModelInterface
|
NewTx(tx any) FriendRequestModelInterface
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,6 +47,7 @@ type GroupRequestModelInterface interface {
|
|||||||
Delete(ctx context.Context, groupID string, userID string) (err error)
|
Delete(ctx context.Context, groupID string, userID string) (err error)
|
||||||
UpdateHandler(ctx context.Context, groupID string, userID string, handledMsg string, handleResult int32) (err error)
|
UpdateHandler(ctx context.Context, groupID string, userID string, handledMsg string, handleResult int32) (err error)
|
||||||
Take(ctx context.Context, groupID string, userID string) (groupRequest *GroupRequestModel, err error)
|
Take(ctx context.Context, groupID string, userID string) (groupRequest *GroupRequestModel, err error)
|
||||||
|
FindGroupReuests(ctx context.Context, groupID string, userIDs []string) ([]*GroupRequestModel, error)
|
||||||
Page(
|
Page(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
userID string,
|
userID string,
|
||||||
|
|||||||
@ -22,14 +22,13 @@ package auth
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
|
||||||
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 (
|
||||||
@ -44,9 +43,9 @@ type UserTokenReq 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"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserTokenReq) Reset() {
|
func (x *UserTokenReq) Reset() {
|
||||||
@ -107,7 +106,7 @@ 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"`
|
||||||
ExpireTimeSeconds int64 `protobuf:"varint,3,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
ExpireTimeSeconds int64 `protobuf:"varint,3,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -163,7 +162,7 @@ type ForceLogoutReq struct {
|
|||||||
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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ForceLogoutReq) Reset() {
|
func (x *ForceLogoutReq) Reset() {
|
||||||
@ -302,8 +301,8 @@ 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"`
|
||||||
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
|
Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
|
||||||
ExpireTimeSeconds int64 `protobuf:"varint,4,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
ExpireTimeSeconds int64 `protobuf:"varint,4,opt,name=expireTimeSeconds,proto3" json:"expireTimeSeconds"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,16 +22,14 @@ package conversation
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
||||||
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"
|
||||||
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -46,23 +44,23 @@ type Conversation 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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
||||||
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType"`
|
ConversationType int32 `protobuf:"varint,4,opt,name=conversationType,proto3" json:"conversationType"`
|
||||||
UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,5,opt,name=userID,proto3" json:"userID"`
|
||||||
GroupID string `protobuf:"bytes,6,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,6,opt,name=groupID,proto3" json:"groupID"`
|
||||||
IsPinned bool `protobuf:"varint,7,opt,name=isPinned,proto3" json:"isPinned"`
|
IsPinned bool `protobuf:"varint,7,opt,name=isPinned,proto3" json:"isPinned"`
|
||||||
AttachedInfo string `protobuf:"bytes,8,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo string `protobuf:"bytes,8,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
||||||
IsPrivateChat bool `protobuf:"varint,9,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
IsPrivateChat bool `protobuf:"varint,9,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
||||||
GroupAtType int32 `protobuf:"varint,10,opt,name=groupAtType,proto3" json:"groupAtType"`
|
GroupAtType int32 `protobuf:"varint,10,opt,name=groupAtType,proto3" json:"groupAtType"`
|
||||||
Ex string `protobuf:"bytes,11,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,11,opt,name=ex,proto3" json:"ex"`
|
||||||
BurnDuration int32 `protobuf:"varint,12,opt,name=burnDuration,proto3" json:"burnDuration"`
|
BurnDuration int32 `protobuf:"varint,12,opt,name=burnDuration,proto3" json:"burnDuration"`
|
||||||
MinSeq int64 `protobuf:"varint,13,opt,name=minSeq,proto3" json:"minSeq"`
|
MinSeq int64 `protobuf:"varint,13,opt,name=minSeq,proto3" json:"minSeq"`
|
||||||
MaxSeq int64 `protobuf:"varint,14,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,14,opt,name=maxSeq,proto3" json:"maxSeq"`
|
||||||
MsgDestructTime int64 `protobuf:"varint,15,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
MsgDestructTime int64 `protobuf:"varint,15,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
||||||
LatestMsgDestructTime int64 `protobuf:"varint,16,opt,name=latestMsgDestructTime,proto3" json:"latestMsgDestructTime"`
|
LatestMsgDestructTime int64 `protobuf:"varint,16,opt,name=latestMsgDestructTime,proto3" json:"latestMsgDestructTime"`
|
||||||
IsMsgDestruct bool `protobuf:"varint,17,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
IsMsgDestruct bool `protobuf:"varint,17,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *Conversation) Reset() {
|
func (x *Conversation) Reset() {
|
||||||
@ -221,21 +219,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"`
|
||||||
ConversationType int32 `protobuf:"varint,2,opt,name=conversationType,proto3" json:"conversationType"`
|
ConversationType int32 `protobuf:"varint,2,opt,name=conversationType,proto3" json:"conversationType"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
||||||
GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,4,opt,name=groupID,proto3" json:"groupID"`
|
||||||
RecvMsgOpt *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
||||||
IsPinned *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=isPinned,proto3" json:"isPinned"`
|
IsPinned *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=isPinned,proto3" json:"isPinned"`
|
||||||
AttachedInfo *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo *wrapperspb.StringValue `protobuf:"bytes,7,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
||||||
IsPrivateChat *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
IsPrivateChat *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=isPrivateChat,proto3" json:"isPrivateChat"`
|
||||||
Ex *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex *wrapperspb.StringValue `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
||||||
BurnDuration *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=burnDuration,proto3" json:"burnDuration"`
|
BurnDuration *wrapperspb.Int32Value `protobuf:"bytes,10,opt,name=burnDuration,proto3" json:"burnDuration"`
|
||||||
MinSeq *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=minSeq,proto3" json:"minSeq"`
|
MinSeq *wrapperspb.Int64Value `protobuf:"bytes,11,opt,name=minSeq,proto3" json:"minSeq"`
|
||||||
MaxSeq *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=maxSeq,proto3" json:"maxSeq"`
|
||||||
GroupAtType *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=groupAtType,proto3" json:"groupAtType"`
|
GroupAtType *wrapperspb.Int32Value `protobuf:"bytes,13,opt,name=groupAtType,proto3" json:"groupAtType"`
|
||||||
MsgDestructTime *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
MsgDestructTime *wrapperspb.Int64Value `protobuf:"bytes,14,opt,name=msgDestructTime,proto3" json:"msgDestructTime"`
|
||||||
IsMsgDestruct *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
IsMsgDestruct *wrapperspb.BoolValue `protobuf:"bytes,15,opt,name=isMsgDestruct,proto3" json:"isMsgDestruct"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationReq) Reset() {
|
func (x *ConversationReq) Reset() {
|
||||||
@ -466,7 +464,7 @@ type GetConversationReq struct {
|
|||||||
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"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationReq) Reset() {
|
func (x *GetConversationReq) Reset() {
|
||||||
@ -567,7 +565,7 @@ 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"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1044,8 +1042,8 @@ type SetConversationMaxSeqReq struct {
|
|||||||
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"`
|
||||||
OwnerUserID []string `protobuf:"bytes,2,rep,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID []string `protobuf:"bytes,2,rep,name=ownerUserID,proto3" json:"ownerUserID"`
|
||||||
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq,proto3" json:"maxSeq"`
|
MaxSeq int64 `protobuf:"varint,3,opt,name=maxSeq,proto3" json:"maxSeq"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationMaxSeqReq) Reset() {
|
func (x *SetConversationMaxSeqReq) Reset() {
|
||||||
@ -1238,7 +1236,7 @@ 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"`
|
||||||
Conversation *ConversationReq `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
|
Conversation *ConversationReq `protobuf:"bytes,2,opt,name=conversation,proto3" json:"conversation"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,11 +21,10 @@
|
|||||||
package errinfo
|
package errinfo
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
|
||||||
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 (
|
||||||
@ -40,11 +39,11 @@ type ErrorInfo struct {
|
|||||||
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"`
|
||||||
Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line"`
|
Line uint32 `protobuf:"varint,2,opt,name=line,proto3" json:"line"`
|
||||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
||||||
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,4,opt,name=cause,proto3" json:"cause"`
|
||||||
Warp []string `protobuf:"bytes,5,rep,name=warp,proto3" json:"warp"`
|
Warp []string `protobuf:"bytes,5,rep,name=warp,proto3" json:"warp"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ErrorInfo) Reset() {
|
func (x *ErrorInfo) Reset() {
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -56,6 +56,15 @@ message getPaginationFriendsApplyToResp{
|
|||||||
int32 total = 2;
|
int32 total = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message getDesignatedFriendsApplyReq{
|
||||||
|
string fromUserID = 1;
|
||||||
|
string toUserID = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message getDesignatedFriendsApplyResp{
|
||||||
|
repeated sdkws.FriendRequest friendRequests = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
message getDesignatedFriendsReq{
|
message getDesignatedFriendsReq{
|
||||||
string ownerUserID = 1;
|
string ownerUserID = 1;
|
||||||
@ -160,6 +169,8 @@ service friend{
|
|||||||
rpc getPaginationFriendsApplyTo(getPaginationFriendsApplyToReq) returns(getPaginationFriendsApplyToResp);
|
rpc getPaginationFriendsApplyTo(getPaginationFriendsApplyToReq) returns(getPaginationFriendsApplyToResp);
|
||||||
//获取主动发出去的好友申请列表
|
//获取主动发出去的好友申请列表
|
||||||
rpc getPaginationFriendsApplyFrom(getPaginationFriendsApplyFromReq) returns(getPaginationFriendsApplyFromResp);
|
rpc getPaginationFriendsApplyFrom(getPaginationFriendsApplyFromReq) returns(getPaginationFriendsApplyFromResp);
|
||||||
|
//获取指定好友申请
|
||||||
|
rpc getDesignatedFriendsApply(getDesignatedFriendsApplyReq) returns(getDesignatedFriendsApplyResp);
|
||||||
//添加黑名单
|
//添加黑名单
|
||||||
rpc addBlack(addBlackReq) returns(addBlackResp);
|
rpc addBlack(addBlackReq) returns(addBlackResp);
|
||||||
//移除黑名单
|
//移除黑名单
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -343,6 +343,15 @@ message GroupCreateCountResp {
|
|||||||
map<string, int64> count = 3;
|
map<string, int64> count = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
message getGroupUsersReqApplicationListReq {
|
||||||
|
string groupID =1;
|
||||||
|
repeated string userIDs = 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
message getGroupUsersReqApplicationListResp {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
service group{
|
service group{
|
||||||
//创建群
|
//创建群
|
||||||
rpc createGroup(CreateGroupReq) returns(CreateGroupResp);
|
rpc createGroup(CreateGroupReq) returns(CreateGroupResp);
|
||||||
@ -358,6 +367,8 @@ service group{
|
|||||||
rpc getGroupApplicationList(GetGroupApplicationListReq) returns(GetGroupApplicationListResp);
|
rpc getGroupApplicationList(GetGroupApplicationListReq) returns(GetGroupApplicationListResp);
|
||||||
//获取用户自己的主动加群申请
|
//获取用户自己的主动加群申请
|
||||||
rpc getUserReqApplicationList(GetUserReqApplicationListReq) returns(GetUserReqApplicationListResp);
|
rpc getUserReqApplicationList(GetUserReqApplicationListReq) returns(GetUserReqApplicationListResp);
|
||||||
|
// 获取该群用户的加群申请
|
||||||
|
rpc getGroupUsersReqApplicationList(getGroupUsersReqApplicationListReq) returns(getGroupUsersReqApplicationListResp);
|
||||||
//转让群主
|
//转让群主
|
||||||
rpc transferGroupOwner(TransferGroupOwnerReq) returns(TransferGroupOwnerResp);
|
rpc transferGroupOwner(TransferGroupOwnerReq) returns(TransferGroupOwnerResp);
|
||||||
//群主或管理员处理进群申请
|
//群主或管理员处理进群申请
|
||||||
|
|||||||
@ -22,16 +22,14 @@ package msg
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
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"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -46,7 +44,7 @@ type MsgDataToMQ 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"`
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,7 +146,7 @@ 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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -203,9 +201,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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
MsgData []*sdkws.MsgData `protobuf:"bytes,3,rep,name=msgData,proto3" json:"msgData"`
|
MsgData []*sdkws.MsgData `protobuf:"bytes,3,rep,name=msgData,proto3" json:"msgData"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgDataToMongoByMQ) Reset() {
|
func (x *MsgDataToMongoByMQ) Reset() {
|
||||||
@ -417,7 +415,7 @@ type SendMsgResp struct {
|
|||||||
|
|
||||||
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SendMsgResp) Reset() {
|
func (x *SendMsgResp) Reset() {
|
||||||
@ -648,7 +646,7 @@ 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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -780,8 +778,8 @@ type RevokeMsgReq struct {
|
|||||||
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"`
|
||||||
Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,2,opt,name=seq,proto3" json:"seq"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *RevokeMsgReq) Reset() {
|
func (x *RevokeMsgReq) Reset() {
|
||||||
@ -881,8 +879,8 @@ type MarkMsgsAsReadReq struct {
|
|||||||
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"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkMsgsAsReadReq) Reset() {
|
func (x *MarkMsgsAsReadReq) Reset() {
|
||||||
@ -982,9 +980,9 @@ type MarkConversationAsReadReq struct {
|
|||||||
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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
||||||
Seqs []int64 `protobuf:"varint,4,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,4,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkConversationAsReadReq) Reset() {
|
func (x *MarkConversationAsReadReq) Reset() {
|
||||||
@ -1091,8 +1089,8 @@ type SetConversationHasReadSeqReq struct {
|
|||||||
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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationHasReadSeqReq) Reset() {
|
func (x *SetConversationHasReadSeqReq) Reset() {
|
||||||
@ -1191,7 +1189,7 @@ 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"`
|
||||||
IsSyncOther bool `protobuf:"varint,4,opt,name=IsSyncOther,proto3" json:"IsSyncOther"`
|
IsSyncOther bool `protobuf:"varint,4,opt,name=IsSyncOther,proto3" json:"IsSyncOther"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1247,8 +1245,8 @@ type ClearConversationsMsgReq struct {
|
|||||||
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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ClearConversationsMsgReq) Reset() {
|
func (x *ClearConversationsMsgReq) Reset() {
|
||||||
@ -1347,7 +1345,7 @@ 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"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,3,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1441,9 +1439,9 @@ type DeleteMsgsReq struct {
|
|||||||
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"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID"`
|
||||||
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,4,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
DeleteSyncOpt *DeleteSyncOpt `protobuf:"bytes,4,opt,name=deleteSyncOpt,proto3" json:"deleteSyncOpt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgsReq) Reset() {
|
func (x *DeleteMsgsReq) Reset() {
|
||||||
@ -1550,7 +1548,7 @@ type DeleteMsgPhysicalReq struct {
|
|||||||
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"`
|
||||||
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp"`
|
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgPhysicalReq) Reset() {
|
func (x *DeleteMsgPhysicalReq) Reset() {
|
||||||
@ -1643,7 +1641,7 @@ type DeleteMsgPhysicalBySeqReq struct {
|
|||||||
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"`
|
||||||
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,2,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgPhysicalBySeqReq) Reset() {
|
func (x *DeleteMsgPhysicalBySeqReq) Reset() {
|
||||||
@ -1876,7 +1874,7 @@ 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"`
|
||||||
HasReadSeq int64 `protobuf:"varint,2,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,2,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1978,10 +1976,10 @@ 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"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
||||||
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
||||||
Group bool `protobuf:"varint,4,opt,name=group,proto3" json:"group"`
|
Group bool `protobuf:"varint,4,opt,name=group,proto3" json:"group"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,5,opt,name=pagination,proto3" json:"pagination"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2057,7 +2055,7 @@ 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"`
|
||||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2112,10 +2110,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"`
|
||||||
UserCount int64 `protobuf:"varint,2,opt,name=userCount,proto3" json:"userCount"`
|
UserCount int64 `protobuf:"varint,2,opt,name=userCount,proto3" json:"userCount"`
|
||||||
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" 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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveUserResp) Reset() {
|
func (x *GetActiveUserResp) Reset() {
|
||||||
@ -2183,9 +2181,9 @@ 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"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
||||||
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
Ase bool `protobuf:"varint,3,opt,name=ase,proto3" json:"ase"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2254,7 +2252,7 @@ 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"`
|
||||||
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2309,10 +2307,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"`
|
||||||
GroupCount int64 `protobuf:"varint,2,opt,name=groupCount,proto3" json:"groupCount"`
|
GroupCount int64 `protobuf:"varint,2,opt,name=groupCount,proto3" json:"groupCount"`
|
||||||
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" 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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetActiveGroupResp) Reset() {
|
func (x *GetActiveGroupResp) Reset() {
|
||||||
@ -2380,12 +2378,12 @@ type SearchMessageReq struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
SendID string `protobuf:"bytes,1,opt,name=sendID,proto3" json:"sendID"` //发送者ID
|
SendID string `protobuf:"bytes,1,opt,name=sendID,proto3" json:"sendID"` //发送者ID
|
||||||
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID"` //接收者ID
|
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID"` //接收者ID
|
||||||
MsgType int32 `protobuf:"varint,3,opt,name=msgType,proto3" json:"msgType"`
|
MsgType int32 `protobuf:"varint,3,opt,name=msgType,proto3" json:"msgType"`
|
||||||
SendTime string `protobuf:"bytes,4,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime string `protobuf:"bytes,4,opt,name=sendTime,proto3" json:"sendTime"`
|
||||||
SessionType int32 `protobuf:"varint,5,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,5,opt,name=sessionType,proto3" json:"sessionType"`
|
||||||
Pagination *sdkws.RequestPagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination"`
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,6,opt,name=pagination,proto3" json:"pagination"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SearchMessageReq) Reset() {
|
func (x *SearchMessageReq) Reset() {
|
||||||
@ -2467,7 +2465,7 @@ type SearchMessageResp struct {
|
|||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs,proto3" json:"chatLogs"`
|
ChatLogs []*ChatLog `protobuf:"bytes,1,rep,name=chatLogs,proto3" json:"chatLogs"`
|
||||||
ChatLogsNum int32 `protobuf:"varint,2,opt,name=chatLogsNum,proto3" json:"chatLogsNum"`
|
ChatLogsNum int32 `protobuf:"varint,2,opt,name=chatLogsNum,proto3" json:"chatLogsNum"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2522,29 +2520,29 @@ type ChatLog 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"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
SendID string `protobuf:"bytes,3,opt,name=sendID,proto3" json:"sendID"`
|
SendID string `protobuf:"bytes,3,opt,name=sendID,proto3" json:"sendID"`
|
||||||
RecvID string `protobuf:"bytes,4,opt,name=recvID,proto3" json:"recvID"`
|
RecvID string `protobuf:"bytes,4,opt,name=recvID,proto3" json:"recvID"`
|
||||||
GroupID string `protobuf:"bytes,5,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,5,opt,name=groupID,proto3" json:"groupID"`
|
||||||
RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname,proto3" json:"recvNickname"`
|
RecvNickname string `protobuf:"bytes,6,opt,name=recvNickname,proto3" json:"recvNickname"`
|
||||||
SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID,proto3" json:"senderPlatformID"`
|
SenderPlatformID int32 `protobuf:"varint,7,opt,name=senderPlatformID,proto3" json:"senderPlatformID"`
|
||||||
SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname,proto3" json:"senderNickname"`
|
SenderNickname string `protobuf:"bytes,8,opt,name=senderNickname,proto3" json:"senderNickname"`
|
||||||
SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL,proto3" json:"senderFaceURL"`
|
SenderFaceURL string `protobuf:"bytes,9,opt,name=senderFaceURL,proto3" json:"senderFaceURL"`
|
||||||
GroupName string `protobuf:"bytes,10,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,10,opt,name=groupName,proto3" json:"groupName"`
|
||||||
SessionType int32 `protobuf:"varint,11,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,11,opt,name=sessionType,proto3" json:"sessionType"`
|
||||||
MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom,proto3" json:"msgFrom"`
|
MsgFrom int32 `protobuf:"varint,12,opt,name=msgFrom,proto3" json:"msgFrom"`
|
||||||
ContentType int32 `protobuf:"varint,13,opt,name=contentType,proto3" json:"contentType"`
|
ContentType int32 `protobuf:"varint,13,opt,name=contentType,proto3" json:"contentType"`
|
||||||
Content string `protobuf:"bytes,14,opt,name=content,proto3" json:"content"`
|
Content string `protobuf:"bytes,14,opt,name=content,proto3" json:"content"`
|
||||||
Status int32 `protobuf:"varint,15,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,15,opt,name=status,proto3" json:"status"`
|
||||||
SendTime int64 `protobuf:"varint,16,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,16,opt,name=sendTime,proto3" json:"sendTime"`
|
||||||
CreateTime int64 `protobuf:"varint,17,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,17,opt,name=createTime,proto3" json:"createTime"`
|
||||||
Ex string `protobuf:"bytes,18,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,18,opt,name=ex,proto3" json:"ex"`
|
||||||
GroupFaceURL string `protobuf:"bytes,19,opt,name=groupFaceURL,proto3" json:"groupFaceURL"`
|
GroupFaceURL string `protobuf:"bytes,19,opt,name=groupFaceURL,proto3" json:"groupFaceURL"`
|
||||||
GroupMemberCount uint32 `protobuf:"varint,20,opt,name=groupMemberCount,proto3" json:"groupMemberCount"`
|
GroupMemberCount uint32 `protobuf:"varint,20,opt,name=groupMemberCount,proto3" json:"groupMemberCount"`
|
||||||
Seq int64 `protobuf:"varint,21,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,21,opt,name=seq,proto3" json:"seq"`
|
||||||
GroupOwner string `protobuf:"bytes,22,opt,name=groupOwner,proto3" json:"groupOwner"`
|
GroupOwner string `protobuf:"bytes,22,opt,name=groupOwner,proto3" json:"groupOwner"`
|
||||||
GroupType int32 `protobuf:"varint,23,opt,name=groupType,proto3" json:"groupType"`
|
GroupType int32 `protobuf:"varint,23,opt,name=groupType,proto3" json:"groupType"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ChatLog) Reset() {
|
func (x *ChatLog) Reset() {
|
||||||
@ -2746,7 +2744,7 @@ type BatchSendMessageReq struct {
|
|||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
RecvIDList []string `protobuf:"bytes,1,rep,name=recvIDList,proto3" json:"recvIDList"`
|
RecvIDList []string `protobuf:"bytes,1,rep,name=recvIDList,proto3" json:"recvIDList"`
|
||||||
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData"`
|
MsgData *sdkws.MsgData `protobuf:"bytes,2,opt,name=msgData,proto3" json:"msgData"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BatchSendMessageReq) Reset() {
|
func (x *BatchSendMessageReq) Reset() {
|
||||||
|
|||||||
@ -22,16 +22,14 @@ package msggateway
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
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"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -46,7 +44,7 @@ type OnlinePushMsgReq 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"`
|
||||||
PushToUserID string `protobuf:"bytes,2,opt,name=pushToUserID,proto3" json:"pushToUserID"`
|
PushToUserID string `protobuf:"bytes,2,opt,name=pushToUserID,proto3" json:"pushToUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -148,8 +146,8 @@ 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"`
|
||||||
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp,proto3" json:"resp"`
|
Resp []*SingleMsgToUserPlatform `protobuf:"bytes,2,rep,name=resp,proto3" json:"resp"`
|
||||||
OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush,proto3" json:"onlinePush"`
|
OnlinePush bool `protobuf:"varint,3,opt,name=onlinePush,proto3" json:"onlinePush"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -211,7 +209,7 @@ 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"`
|
||||||
PushToUserIDs []string `protobuf:"bytes,2,rep,name=pushToUserIDs,proto3" json:"pushToUserIDs"`
|
PushToUserIDs []string `protobuf:"bytes,2,rep,name=pushToUserIDs,proto3" json:"pushToUserIDs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -313,8 +311,8 @@ 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"`
|
||||||
RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID"`
|
RecvID string `protobuf:"bytes,2,opt,name=RecvID,proto3" json:"RecvID"`
|
||||||
RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID,proto3" json:"RecvPlatFormID"`
|
RecvPlatFormID int32 `protobuf:"varint,3,opt,name=RecvPlatFormID,proto3" json:"RecvPlatFormID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -424,7 +422,7 @@ type GetUsersOnlineStatusResp struct {
|
|||||||
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"`
|
||||||
FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,2,rep,name=failedResult,proto3" json:"failedResult"`
|
FailedResult []*GetUsersOnlineStatusResp_FailedDetail `protobuf:"bytes,2,rep,name=failedResult,proto3" json:"failedResult"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp) Reset() {
|
func (x *GetUsersOnlineStatusResp) Reset() {
|
||||||
@ -478,8 +476,8 @@ 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"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
||||||
SinglePlatformToken []*SinglePlatformToken `protobuf:"bytes,3,rep,name=singlePlatformToken,proto3" json:"singlePlatformToken"`
|
SinglePlatformToken []*SinglePlatformToken `protobuf:"bytes,3,rep,name=singlePlatformToken,proto3" json:"singlePlatformToken"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -542,8 +540,8 @@ type SinglePlatformToken struct {
|
|||||||
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"`
|
||||||
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
Total int32 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
|
||||||
Token []string `protobuf:"bytes,3,rep,name=token,proto3" json:"token"`
|
Token []string `protobuf:"bytes,3,rep,name=token,proto3" json:"token"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SinglePlatformToken) Reset() {
|
func (x *SinglePlatformToken) Reset() {
|
||||||
@ -604,7 +602,7 @@ 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"`
|
||||||
KickUserIDList []string `protobuf:"bytes,2,rep,name=kickUserIDList,proto3" json:"kickUserIDList"`
|
KickUserIDList []string `protobuf:"bytes,2,rep,name=kickUserIDList,proto3" json:"kickUserIDList"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -697,9 +695,9 @@ 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"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
||||||
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token"`
|
||||||
OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,4,opt,name=operationID,proto3" json:"operationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -806,11 +804,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"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
||||||
ConnID string `protobuf:"bytes,3,opt,name=connID,proto3" json:"connID"`
|
ConnID string `protobuf:"bytes,3,opt,name=connID,proto3" json:"connID"`
|
||||||
IsBackground bool `protobuf:"varint,4,opt,name=isBackground,proto3" json:"isBackground"`
|
IsBackground bool `protobuf:"varint,4,opt,name=isBackground,proto3" json:"isBackground"`
|
||||||
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token"`
|
Token string `protobuf:"bytes,5,opt,name=token,proto3" json:"token"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset() {
|
func (x *GetUsersOnlineStatusResp_SuccessDetail) Reset() {
|
||||||
@ -932,8 +930,8 @@ 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"`
|
||||||
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status"`
|
||||||
DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus,proto3" json:"detailPlatformStatus"`
|
DetailPlatformStatus []*GetUsersOnlineStatusResp_SuccessDetail `protobuf:"bytes,3,rep,name=detailPlatformStatus,proto3" json:"detailPlatformStatus"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,16 +22,14 @@ package push
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
||||||
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"
|
||||||
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -46,7 +44,7 @@ type PushMsgReq 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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,7 +137,7 @@ 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"`
|
||||||
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
PlatformID int32 `protobuf:"varint,2,opt,name=platformID,proto3" json:"platformID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,13 +21,11 @@
|
|||||||
package sdkws
|
package sdkws
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
||||||
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"
|
||||||
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
sync "sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -89,23 +87,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"`
|
||||||
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
||||||
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
||||||
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
||||||
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
||||||
OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,6,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
||||||
CreateTime int64 `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,7,opt,name=createTime,proto3" json:"createTime"`
|
||||||
MemberCount uint32 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount"`
|
MemberCount uint32 `protobuf:"varint,8,opt,name=memberCount,proto3" json:"memberCount"`
|
||||||
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
||||||
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status"`
|
||||||
CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID"`
|
CreatorUserID string `protobuf:"bytes,11,opt,name=creatorUserID,proto3" json:"creatorUserID"`
|
||||||
GroupType int32 `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType"`
|
GroupType int32 `protobuf:"varint,12,opt,name=groupType,proto3" json:"groupType"`
|
||||||
NeedVerification int32 `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification"`
|
NeedVerification int32 `protobuf:"varint,13,opt,name=needVerification,proto3" json:"needVerification"`
|
||||||
LookMemberInfo int32 `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
LookMemberInfo int32 `protobuf:"varint,14,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
||||||
ApplyMemberFriend int32 `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
ApplyMemberFriend int32 `protobuf:"varint,15,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
||||||
NotificationUpdateTime int64 `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime"`
|
NotificationUpdateTime int64 `protobuf:"varint,16,opt,name=notificationUpdateTime,proto3" json:"notificationUpdateTime"`
|
||||||
NotificationUserID string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID"`
|
NotificationUserID string `protobuf:"bytes,17,opt,name=notificationUserID,proto3" json:"notificationUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfo) Reset() {
|
func (x *GroupInfo) Reset() {
|
||||||
@ -264,14 +262,14 @@ 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"`
|
||||||
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
||||||
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
Notification string `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification"`
|
||||||
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
Introduction string `protobuf:"bytes,4,opt,name=introduction,proto3" json:"introduction"`
|
||||||
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,5,opt,name=faceURL,proto3" json:"faceURL"`
|
||||||
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
||||||
NeedVerification *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=needVerification,proto3" json:"needVerification"`
|
NeedVerification *wrapperspb.Int32Value `protobuf:"bytes,7,opt,name=needVerification,proto3" json:"needVerification"`
|
||||||
LookMemberInfo *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
LookMemberInfo *wrapperspb.Int32Value `protobuf:"bytes,8,opt,name=lookMemberInfo,proto3" json:"lookMemberInfo"`
|
||||||
ApplyMemberFriend *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
ApplyMemberFriend *wrapperspb.Int32Value `protobuf:"bytes,9,opt,name=applyMemberFriend,proto3" json:"applyMemberFriend"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,18 +373,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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel"`
|
RoleLevel int32 `protobuf:"varint,3,opt,name=roleLevel,proto3" json:"roleLevel"`
|
||||||
JoinTime int64 `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime"`
|
JoinTime int64 `protobuf:"varint,4,opt,name=joinTime,proto3" json:"joinTime"`
|
||||||
Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,5,opt,name=nickname,proto3" json:"nickname"`
|
||||||
FaceURL string `protobuf:"bytes,6,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,6,opt,name=faceURL,proto3" json:"faceURL"`
|
||||||
AppMangerLevel int32 `protobuf:"varint,7,opt,name=appMangerLevel,proto3" json:"appMangerLevel"` //if >0
|
AppMangerLevel int32 `protobuf:"varint,7,opt,name=appMangerLevel,proto3" json:"appMangerLevel"` //if >0
|
||||||
JoinSource int32 `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource"`
|
JoinSource int32 `protobuf:"varint,8,opt,name=joinSource,proto3" json:"joinSource"`
|
||||||
OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,9,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
||||||
Ex string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,10,opt,name=ex,proto3" json:"ex"`
|
||||||
MuteEndTime int64 `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime"`
|
MuteEndTime int64 `protobuf:"varint,11,opt,name=muteEndTime,proto3" json:"muteEndTime"`
|
||||||
InviterUserID string `protobuf:"bytes,12,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
InviterUserID string `protobuf:"bytes,12,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberFullInfo) Reset() {
|
func (x *GroupMemberFullInfo) Reset() {
|
||||||
@ -510,10 +508,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"`
|
||||||
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
||||||
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
||||||
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PublicUserInfo) Reset() {
|
func (x *PublicUserInfo) Reset() {
|
||||||
@ -581,12 +579,12 @@ 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"`
|
||||||
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
Nickname string `protobuf:"bytes,2,opt,name=nickname,proto3" json:"nickname"`
|
||||||
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
FaceURL string `protobuf:"bytes,3,opt,name=faceURL,proto3" json:"faceURL"`
|
||||||
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,4,opt,name=ex,proto3" json:"ex"`
|
||||||
CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,5,opt,name=createTime,proto3" json:"createTime"`
|
||||||
AppMangerLevel int32 `protobuf:"varint,6,opt,name=appMangerLevel,proto3" json:"appMangerLevel"`
|
AppMangerLevel int32 `protobuf:"varint,6,opt,name=appMangerLevel,proto3" json:"appMangerLevel"`
|
||||||
GlobalRecvMsgOpt int32 `protobuf:"varint,7,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
GlobalRecvMsgOpt int32 `protobuf:"varint,7,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -676,13 +674,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"`
|
||||||
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark"`
|
Remark string `protobuf:"bytes,2,opt,name=remark,proto3" json:"remark"`
|
||||||
CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,3,opt,name=createTime,proto3" json:"createTime"`
|
||||||
FriendUser *UserInfo `protobuf:"bytes,4,opt,name=friendUser,proto3" json:"friendUser"`
|
FriendUser *UserInfo `protobuf:"bytes,4,opt,name=friendUser,proto3" json:"friendUser"`
|
||||||
AddSource int32 `protobuf:"varint,5,opt,name=addSource,proto3" json:"addSource"`
|
AddSource int32 `protobuf:"varint,5,opt,name=addSource,proto3" json:"addSource"`
|
||||||
OperatorUserID string `protobuf:"bytes,6,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,6,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
||||||
Ex string `protobuf:"bytes,7,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,7,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendInfo) Reset() {
|
func (x *FriendInfo) Reset() {
|
||||||
@ -771,12 +769,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"`
|
||||||
CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,2,opt,name=createTime,proto3" json:"createTime"`
|
||||||
BlackUserInfo *PublicUserInfo `protobuf:"bytes,3,opt,name=blackUserInfo,proto3" json:"blackUserInfo"`
|
BlackUserInfo *PublicUserInfo `protobuf:"bytes,3,opt,name=blackUserInfo,proto3" json:"blackUserInfo"`
|
||||||
AddSource int32 `protobuf:"varint,4,opt,name=addSource,proto3" json:"addSource"`
|
AddSource int32 `protobuf:"varint,4,opt,name=addSource,proto3" json:"addSource"`
|
||||||
OperatorUserID string `protobuf:"bytes,5,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
OperatorUserID string `protobuf:"bytes,5,opt,name=operatorUserID,proto3" json:"operatorUserID"`
|
||||||
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BlackInfo) Reset() {
|
func (x *BlackInfo) Reset() {
|
||||||
@ -858,16 +856,16 @@ 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"`
|
||||||
GroupInfo *GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
GroupInfo *GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
||||||
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,3,opt,name=handleResult,proto3" json:"handleResult"`
|
||||||
ReqMsg string `protobuf:"bytes,4,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,4,opt,name=reqMsg,proto3" json:"reqMsg"`
|
||||||
HandleMsg string `protobuf:"bytes,5,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,5,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
ReqTime int64 `protobuf:"varint,6,opt,name=reqTime,proto3" json:"reqTime"`
|
ReqTime int64 `protobuf:"varint,6,opt,name=reqTime,proto3" json:"reqTime"`
|
||||||
HandleUserID string `protobuf:"bytes,7,opt,name=handleUserID,proto3" json:"handleUserID"`
|
HandleUserID string `protobuf:"bytes,7,opt,name=handleUserID,proto3" json:"handleUserID"`
|
||||||
HandleTime int64 `protobuf:"varint,8,opt,name=handleTime,proto3" json:"handleTime"`
|
HandleTime int64 `protobuf:"varint,8,opt,name=handleTime,proto3" json:"handleTime"`
|
||||||
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,9,opt,name=ex,proto3" json:"ex"`
|
||||||
JoinSource int32 `protobuf:"varint,10,opt,name=joinSource,proto3" json:"joinSource"`
|
JoinSource int32 `protobuf:"varint,10,opt,name=joinSource,proto3" json:"joinSource"`
|
||||||
InviterUserID string `protobuf:"bytes,11,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
InviterUserID string `protobuf:"bytes,11,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -985,19 +983,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"`
|
||||||
FromNickname string `protobuf:"bytes,2,opt,name=fromNickname,proto3" json:"fromNickname"`
|
FromNickname string `protobuf:"bytes,2,opt,name=fromNickname,proto3" json:"fromNickname"`
|
||||||
FromFaceURL string `protobuf:"bytes,3,opt,name=fromFaceURL,proto3" json:"fromFaceURL"`
|
FromFaceURL string `protobuf:"bytes,3,opt,name=fromFaceURL,proto3" json:"fromFaceURL"`
|
||||||
ToUserID string `protobuf:"bytes,4,opt,name=toUserID,proto3" json:"toUserID"`
|
ToUserID string `protobuf:"bytes,4,opt,name=toUserID,proto3" json:"toUserID"`
|
||||||
ToNickname string `protobuf:"bytes,5,opt,name=toNickname,proto3" json:"toNickname"`
|
ToNickname string `protobuf:"bytes,5,opt,name=toNickname,proto3" json:"toNickname"`
|
||||||
ToFaceURL string `protobuf:"bytes,6,opt,name=toFaceURL,proto3" json:"toFaceURL"`
|
ToFaceURL string `protobuf:"bytes,6,opt,name=toFaceURL,proto3" json:"toFaceURL"`
|
||||||
HandleResult int32 `protobuf:"varint,7,opt,name=handleResult,proto3" json:"handleResult"`
|
HandleResult int32 `protobuf:"varint,7,opt,name=handleResult,proto3" json:"handleResult"`
|
||||||
ReqMsg string `protobuf:"bytes,8,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,8,opt,name=reqMsg,proto3" json:"reqMsg"`
|
||||||
CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,9,opt,name=createTime,proto3" json:"createTime"`
|
||||||
HandlerUserID string `protobuf:"bytes,10,opt,name=handlerUserID,proto3" json:"handlerUserID"`
|
HandlerUserID string `protobuf:"bytes,10,opt,name=handlerUserID,proto3" json:"handlerUserID"`
|
||||||
HandleMsg string `protobuf:"bytes,11,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,11,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
HandleTime int64 `protobuf:"varint,12,opt,name=handleTime,proto3" json:"handleTime"`
|
HandleTime int64 `protobuf:"varint,12,opt,name=handleTime,proto3" json:"handleTime"`
|
||||||
Ex string `protobuf:"bytes,13,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,13,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendRequest) Reset() {
|
func (x *FriendRequest) Reset() {
|
||||||
@ -1128,8 +1126,8 @@ 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"`
|
||||||
SeqRanges []*SeqRange `protobuf:"bytes,2,rep,name=seqRanges,proto3" json:"seqRanges"`
|
SeqRanges []*SeqRange `protobuf:"bytes,2,rep,name=seqRanges,proto3" json:"seqRanges"`
|
||||||
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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1192,9 +1190,9 @@ type SeqRange struct {
|
|||||||
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"`
|
||||||
Begin int64 `protobuf:"varint,2,opt,name=begin,proto3" json:"begin"`
|
Begin int64 `protobuf:"varint,2,opt,name=begin,proto3" json:"begin"`
|
||||||
End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,3,opt,name=end,proto3" json:"end"`
|
||||||
Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num"`
|
Num int64 `protobuf:"varint,4,opt,name=num,proto3" json:"num"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SeqRange) Reset() {
|
func (x *SeqRange) Reset() {
|
||||||
@ -1262,7 +1260,7 @@ 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"`
|
||||||
IsEnd bool `protobuf:"varint,2,opt,name=isEnd,proto3" json:"isEnd"`
|
IsEnd bool `protobuf:"varint,2,opt,name=isEnd,proto3" json:"isEnd"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1317,7 +1315,7 @@ 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" 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" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1476,7 +1474,7 @@ type UserSendMsgResp struct {
|
|||||||
|
|
||||||
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,1,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,3,opt,name=sendTime,proto3" json:"sendTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserSendMsgResp) Reset() {
|
func (x *UserSendMsgResp) Reset() {
|
||||||
@ -1537,28 +1535,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"`
|
||||||
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID"`
|
RecvID string `protobuf:"bytes,2,opt,name=recvID,proto3" json:"recvID"`
|
||||||
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
||||||
ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,4,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
ServerMsgID string `protobuf:"bytes,5,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
ServerMsgID string `protobuf:"bytes,5,opt,name=serverMsgID,proto3" json:"serverMsgID"`
|
||||||
SenderPlatformID int32 `protobuf:"varint,6,opt,name=senderPlatformID,proto3" json:"senderPlatformID"`
|
SenderPlatformID int32 `protobuf:"varint,6,opt,name=senderPlatformID,proto3" json:"senderPlatformID"`
|
||||||
SenderNickname string `protobuf:"bytes,7,opt,name=senderNickname,proto3" json:"senderNickname"`
|
SenderNickname string `protobuf:"bytes,7,opt,name=senderNickname,proto3" json:"senderNickname"`
|
||||||
SenderFaceURL string `protobuf:"bytes,8,opt,name=senderFaceURL,proto3" json:"senderFaceURL"`
|
SenderFaceURL string `protobuf:"bytes,8,opt,name=senderFaceURL,proto3" json:"senderFaceURL"`
|
||||||
SessionType int32 `protobuf:"varint,9,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,9,opt,name=sessionType,proto3" json:"sessionType"`
|
||||||
MsgFrom int32 `protobuf:"varint,10,opt,name=msgFrom,proto3" json:"msgFrom"`
|
MsgFrom int32 `protobuf:"varint,10,opt,name=msgFrom,proto3" json:"msgFrom"`
|
||||||
ContentType int32 `protobuf:"varint,11,opt,name=contentType,proto3" json:"contentType"`
|
ContentType int32 `protobuf:"varint,11,opt,name=contentType,proto3" json:"contentType"`
|
||||||
Content []byte `protobuf:"bytes,12,opt,name=content,proto3" json:"content"`
|
Content []byte `protobuf:"bytes,12,opt,name=content,proto3" json:"content"`
|
||||||
Seq int64 `protobuf:"varint,14,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,14,opt,name=seq,proto3" json:"seq"`
|
||||||
SendTime int64 `protobuf:"varint,15,opt,name=sendTime,proto3" json:"sendTime"`
|
SendTime int64 `protobuf:"varint,15,opt,name=sendTime,proto3" json:"sendTime"`
|
||||||
CreateTime int64 `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime"`
|
CreateTime int64 `protobuf:"varint,16,opt,name=createTime,proto3" json:"createTime"`
|
||||||
Status int32 `protobuf:"varint,17,opt,name=status,proto3" json:"status"`
|
Status int32 `protobuf:"varint,17,opt,name=status,proto3" json:"status"`
|
||||||
IsRead bool `protobuf:"varint,18,opt,name=isRead,proto3" json:"isRead"`
|
IsRead bool `protobuf:"varint,18,opt,name=isRead,proto3" json:"isRead"`
|
||||||
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" 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"`
|
||||||
AtUserIDList []string `protobuf:"bytes,21,rep,name=atUserIDList,proto3" json:"atUserIDList"`
|
AtUserIDList []string `protobuf:"bytes,21,rep,name=atUserIDList,proto3" json:"atUserIDList"`
|
||||||
AttachedInfo string `protobuf:"bytes,22,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
AttachedInfo string `protobuf:"bytes,22,opt,name=attachedInfo,proto3" json:"attachedInfo"`
|
||||||
Ex string `protobuf:"bytes,23,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,23,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MsgData) Reset() {
|
func (x *MsgData) Reset() {
|
||||||
@ -1752,7 +1750,7 @@ 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" 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" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1807,12 +1805,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"`
|
||||||
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"`
|
Desc string `protobuf:"bytes,2,opt,name=desc,proto3" json:"desc"`
|
||||||
Ex string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,3,opt,name=ex,proto3" json:"ex"`
|
||||||
IOSPushSound string `protobuf:"bytes,4,opt,name=iOSPushSound,proto3" json:"iOSPushSound"`
|
IOSPushSound string `protobuf:"bytes,4,opt,name=iOSPushSound,proto3" json:"iOSPushSound"`
|
||||||
IOSBadgeCount bool `protobuf:"varint,5,opt,name=iOSBadgeCount,proto3" json:"iOSBadgeCount"`
|
IOSBadgeCount bool `protobuf:"varint,5,opt,name=iOSBadgeCount,proto3" json:"iOSBadgeCount"`
|
||||||
SignalInfo string `protobuf:"bytes,6,opt,name=signalInfo,proto3" json:"signalInfo"`
|
SignalInfo string `protobuf:"bytes,6,opt,name=signalInfo,proto3" json:"signalInfo"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *OfflinePushInfo) Reset() {
|
func (x *OfflinePushInfo) Reset() {
|
||||||
@ -1894,9 +1892,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"`
|
||||||
DefaultTips string `protobuf:"bytes,2,opt,name=defaultTips,proto3" json:"defaultTips"`
|
DefaultTips string `protobuf:"bytes,2,opt,name=defaultTips,proto3" json:"defaultTips"`
|
||||||
JsonDetail string `protobuf:"bytes,3,opt,name=jsonDetail,proto3" json:"jsonDetail"`
|
JsonDetail string `protobuf:"bytes,3,opt,name=jsonDetail,proto3" json:"jsonDetail"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *TipsComm) Reset() {
|
func (x *TipsComm) Reset() {
|
||||||
@ -1958,9 +1956,9 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
MemberList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList"`
|
MemberList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=memberList,proto3" json:"memberList"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
GroupOwnerUser *GroupMemberFullInfo `protobuf:"bytes,5,opt,name=groupOwnerUser,proto3" json:"groupOwnerUser"`
|
GroupOwnerUser *GroupMemberFullInfo `protobuf:"bytes,5,opt,name=groupOwnerUser,proto3" json:"groupOwnerUser"`
|
||||||
}
|
}
|
||||||
@ -2038,9 +2036,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"` //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"`
|
||||||
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group"`
|
Group *GroupInfo `protobuf:"bytes,3,opt,name=group,proto3" json:"group"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetTips) Reset() {
|
func (x *GroupInfoSetTips) Reset() {
|
||||||
@ -2102,7 +2100,7 @@ type GroupInfoSetNameTips struct {
|
|||||||
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"` //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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetNameTips) Reset() {
|
func (x *GroupInfoSetNameTips) Reset() {
|
||||||
@ -2157,7 +2155,7 @@ type GroupInfoSetAnnouncementTips struct {
|
|||||||
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"` //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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupInfoSetAnnouncementTips) Reset() {
|
func (x *GroupInfoSetAnnouncementTips) Reset() {
|
||||||
@ -2212,9 +2210,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"`
|
||||||
Applicant *PublicUserInfo `protobuf:"bytes,2,opt,name=applicant,proto3" json:"applicant"`
|
Applicant *PublicUserInfo `protobuf:"bytes,2,opt,name=applicant,proto3" json:"applicant"`
|
||||||
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg"`
|
ReqMsg string `protobuf:"bytes,3,opt,name=reqMsg,proto3" json:"reqMsg"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *JoinGroupApplicationTips) Reset() {
|
func (x *JoinGroupApplicationTips) Reset() {
|
||||||
@ -2278,8 +2276,8 @@ 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"`
|
||||||
QuitUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=quitUser,proto3" json:"quitUser"`
|
QuitUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=quitUser,proto3" json:"quitUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2342,9 +2340,9 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
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"` // admin(==1) or applicant(==0)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2414,9 +2412,9 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,4,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
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"` // admin(==1) or applicant(==0)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2486,9 +2484,9 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
NewGroupOwner *GroupMemberFullInfo `protobuf:"bytes,3,opt,name=newGroupOwner,proto3" json:"newGroupOwner"`
|
NewGroupOwner *GroupMemberFullInfo `protobuf:"bytes,3,opt,name=newGroupOwner,proto3" json:"newGroupOwner"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2558,8 +2556,8 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
KickedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=kickedUserList,proto3" json:"kickedUserList"`
|
KickedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=kickedUserList,proto3" json:"kickedUserList"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
@ -2630,10 +2628,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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
InvitedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=invitedUserList,proto3" json:"invitedUserList"`
|
InvitedUserList []*GroupMemberFullInfo `protobuf:"bytes,3,rep,name=invitedUserList,proto3" json:"invitedUserList"`
|
||||||
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,4,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MemberInvitedTips) Reset() {
|
func (x *MemberInvitedTips) Reset() {
|
||||||
@ -2702,8 +2700,8 @@ 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"`
|
||||||
EntrantUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=entrantUser,proto3" json:"entrantUser"`
|
EntrantUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=entrantUser,proto3" json:"entrantUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2765,8 +2763,8 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2828,11 +2826,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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
||||||
MutedSeconds uint32 `protobuf:"varint,5,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
MutedSeconds uint32 `protobuf:"varint,5,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberMutedTips) Reset() {
|
func (x *GroupMemberMutedTips) Reset() {
|
||||||
@ -2907,10 +2905,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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
MutedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=mutedUser,proto3" json:"mutedUser"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberCancelMutedTips) Reset() {
|
func (x *GroupMemberCancelMutedTips) Reset() {
|
||||||
@ -2978,8 +2976,8 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3041,8 +3039,8 @@ 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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3104,10 +3102,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"`
|
||||||
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
OpUser *GroupMemberFullInfo `protobuf:"bytes,2,opt,name=opUser,proto3" json:"opUser"`
|
||||||
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,3,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
ChangedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=changedUser,proto3" json:"changedUser"`
|
ChangedUser *GroupMemberFullInfo `protobuf:"bytes,4,opt,name=changedUser,proto3" json:"changedUser"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GroupMemberInfoSetTips) Reset() {
|
func (x *GroupMemberInfoSetTips) Reset() {
|
||||||
@ -3175,8 +3173,8 @@ 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"`
|
||||||
AddSource string `protobuf:"bytes,2,opt,name=addSource,proto3" json:"addSource"`
|
AddSource string `protobuf:"bytes,2,opt,name=addSource,proto3" json:"addSource"`
|
||||||
AddWording string `protobuf:"bytes,3,opt,name=addWording,proto3" json:"addWording"`
|
AddWording string `protobuf:"bytes,3,opt,name=addWording,proto3" json:"addWording"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3239,7 +3237,7 @@ type FromToUserID struct {
|
|||||||
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"`
|
||||||
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"`
|
ToUserID string `protobuf:"bytes,2,opt,name=toUserID,proto3" json:"toUserID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FromToUserID) Reset() {
|
func (x *FromToUserID) Reset() {
|
||||||
@ -3343,7 +3341,7 @@ type FriendApplicationApprovedTips struct {
|
|||||||
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"` //from:同意者;to:请求发起者
|
||||||
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplicationApprovedTips) Reset() {
|
func (x *FriendApplicationApprovedTips) Reset() {
|
||||||
@ -3399,7 +3397,7 @@ type FriendApplicationRejectedTips struct {
|
|||||||
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"` //from:拒绝者;to:请求发起者
|
||||||
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
HandleMsg string `protobuf:"bytes,2,opt,name=handleMsg,proto3" json:"handleMsg"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendApplicationRejectedTips) Reset() {
|
func (x *FriendApplicationRejectedTips) Reset() {
|
||||||
@ -3454,9 +3452,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"`
|
||||||
OperationTime int64 `protobuf:"varint,2,opt,name=operationTime,proto3" json:"operationTime"`
|
OperationTime int64 `protobuf:"varint,2,opt,name=operationTime,proto3" json:"operationTime"`
|
||||||
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"` //who do this
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *FriendAddedTips) Reset() {
|
func (x *FriendAddedTips) Reset() {
|
||||||
@ -3755,7 +3753,7 @@ 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"`
|
||||||
ConversationIDList []string `protobuf:"bytes,2,rep,name=conversationIDList,proto3" json:"conversationIDList"`
|
ConversationIDList []string `protobuf:"bytes,2,rep,name=conversationIDList,proto3" json:"conversationIDList"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3810,9 +3808,10 @@ 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"`
|
||||||
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID"`
|
SendID string `protobuf:"bytes,2,opt,name=sendID,proto3" json:"sendID"`
|
||||||
IsPrivate bool `protobuf:"varint,3,opt,name=isPrivate,proto3" json:"isPrivate"`
|
IsPrivate bool `protobuf:"varint,3,opt,name=isPrivate,proto3" json:"isPrivate"`
|
||||||
|
ConversationID string `protobuf:"bytes,4,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *ConversationSetPrivateTips) Reset() {
|
func (x *ConversationSetPrivateTips) Reset() {
|
||||||
@ -3868,14 +3867,21 @@ func (x *ConversationSetPrivateTips) GetIsPrivate() bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *ConversationSetPrivateTips) GetConversationID() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.ConversationID
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
type ConversationHasReadTips struct {
|
type ConversationHasReadTips struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,3,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
||||||
UnreadCountTime int64 `protobuf:"varint,4,opt,name=unreadCountTime,proto3" json:"unreadCountTime"`
|
UnreadCountTime int64 `protobuf:"varint,4,opt,name=unreadCountTime,proto3" json:"unreadCountTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4039,8 +4045,8 @@ 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"`
|
||||||
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4102,11 +4108,11 @@ 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"`
|
||||||
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,2,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
RevokeTime int64 `protobuf:"varint,3,opt,name=revokeTime,proto3" json:"revokeTime"`
|
RevokeTime int64 `protobuf:"varint,3,opt,name=revokeTime,proto3" json:"revokeTime"`
|
||||||
SesstionType int32 `protobuf:"varint,5,opt,name=sesstionType,proto3" json:"sesstionType"`
|
SesstionType int32 `protobuf:"varint,5,opt,name=sesstionType,proto3" json:"sesstionType"`
|
||||||
Seq int64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,6,opt,name=seq,proto3" json:"seq"`
|
||||||
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,7,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4189,17 +4195,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"`
|
||||||
RevokerRole int32 `protobuf:"varint,2,opt,name=revokerRole,proto3" json:"revokerRole"`
|
RevokerRole int32 `protobuf:"varint,2,opt,name=revokerRole,proto3" json:"revokerRole"`
|
||||||
ClientMsgID string `protobuf:"bytes,3,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
ClientMsgID string `protobuf:"bytes,3,opt,name=clientMsgID,proto3" json:"clientMsgID"`
|
||||||
RevokerNickname string `protobuf:"bytes,4,opt,name=revokerNickname,proto3" json:"revokerNickname"`
|
RevokerNickname string `protobuf:"bytes,4,opt,name=revokerNickname,proto3" json:"revokerNickname"`
|
||||||
RevokeTime int64 `protobuf:"varint,5,opt,name=revokeTime,proto3" json:"revokeTime"`
|
RevokeTime int64 `protobuf:"varint,5,opt,name=revokeTime,proto3" json:"revokeTime"`
|
||||||
SourceMessageSendTime int64 `protobuf:"varint,6,opt,name=sourceMessageSendTime,proto3" json:"sourceMessageSendTime"`
|
SourceMessageSendTime int64 `protobuf:"varint,6,opt,name=sourceMessageSendTime,proto3" json:"sourceMessageSendTime"`
|
||||||
SourceMessageSendID string `protobuf:"bytes,7,opt,name=sourceMessageSendID,proto3" json:"sourceMessageSendID"`
|
SourceMessageSendID string `protobuf:"bytes,7,opt,name=sourceMessageSendID,proto3" json:"sourceMessageSendID"`
|
||||||
SourceMessageSenderNickname string `protobuf:"bytes,8,opt,name=sourceMessageSenderNickname,proto3" json:"sourceMessageSenderNickname"`
|
SourceMessageSenderNickname string `protobuf:"bytes,8,opt,name=sourceMessageSenderNickname,proto3" json:"sourceMessageSenderNickname"`
|
||||||
SessionType int32 `protobuf:"varint,10,opt,name=sessionType,proto3" json:"sessionType"`
|
SessionType int32 `protobuf:"varint,10,opt,name=sessionType,proto3" json:"sessionType"`
|
||||||
Seq int64 `protobuf:"varint,11,opt,name=seq,proto3" json:"seq"`
|
Seq int64 `protobuf:"varint,11,opt,name=seq,proto3" json:"seq"`
|
||||||
Ex string `protobuf:"bytes,12,opt,name=ex,proto3" json:"ex"`
|
Ex string `protobuf:"bytes,12,opt,name=ex,proto3" json:"ex"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MessageRevokedContent) Reset() {
|
func (x *MessageRevokedContent) Reset() {
|
||||||
@ -4316,7 +4322,7 @@ 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"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4371,9 +4377,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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *DeleteMsgsTips) Reset() {
|
func (x *DeleteMsgsTips) Reset() {
|
||||||
@ -4435,9 +4441,9 @@ type MarkAsReadTips struct {
|
|||||||
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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
Seqs []int64 `protobuf:"varint,3,rep,packed,name=seqs,proto3" json:"seqs"`
|
||||||
HasReadSeq int64 `protobuf:"varint,4,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
HasReadSeq int64 `protobuf:"varint,4,opt,name=hasReadSeq,proto3" json:"hasReadSeq"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *MarkAsReadTips) Reset() {
|
func (x *MarkAsReadTips) Reset() {
|
||||||
@ -4505,7 +4511,7 @@ 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"`
|
||||||
IsBackground bool `protobuf:"varint,2,opt,name=isBackground,proto3" json:"isBackground"`
|
IsBackground bool `protobuf:"varint,2,opt,name=isBackground,proto3" json:"isBackground"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5333,116 +5339,119 @@ var file_sdkws_sdkws_proto_rawDesc = []byte{
|
|||||||
0x65, 0x72, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
0x65, 0x72, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
|
||||||
0x52, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
0x52, 0x12, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44,
|
||||||
0x4c, 0x69, 0x73, 0x74, 0x22, 0x6a, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
0x4c, 0x69, 0x73, 0x74, 0x22, 0x92, 0x01, 0x0a, 0x1a, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54, 0x69,
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x54,
|
||||||
0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x76, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01,
|
0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x76, 0x49, 0x44, 0x18, 0x01, 0x20,
|
||||||
0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x63, 0x76, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65,
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x63, 0x76, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x73,
|
||||||
0x6e, 0x64, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64,
|
0x65, 0x6e, 0x64, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e,
|
||||||
0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18,
|
0x64, 0x49, 0x44, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
||||||
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65,
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x50, 0x72, 0x69, 0x76, 0x61, 0x74,
|
||||||
0x22, 0xa3, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
0x65, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
||||||
0x6e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06,
|
0x6e, 0x49, 0x44, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65,
|
||||||
0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73,
|
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xa3, 0x01, 0x0a, 0x17, 0x43, 0x6f,
|
||||||
0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61, 0x73, 0x52, 0x65, 0x61,
|
||||||
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
|
0x64, 0x54, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
||||||
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a,
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a,
|
||||||
0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18,
|
||||||
0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x0f,
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74,
|
||||||
0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18,
|
0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64,
|
||||||
0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75,
|
0x53, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65,
|
||||||
0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x2a, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69,
|
0x61, 0x64, 0x53, 0x65, 0x71, 0x12, 0x28, 0x0a, 0x0f, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43,
|
||||||
0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x6c, 0x65, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65,
|
0x6f, 0x75, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0f,
|
||||||
0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61,
|
0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x22,
|
||||||
0x69, 0x6c, 0x22, 0x1a, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65,
|
0x2a, 0x0a, 0x10, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x45,
|
||||||
0x71, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0x5b,
|
0x6c, 0x65, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20,
|
||||||
0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54,
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x22, 0x1a, 0x0a, 0x04, 0x73,
|
||||||
0x69, 0x70, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
0x65, 0x71, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12,
|
0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0x5b, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74,
|
||||||
0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x54, 0x69, 0x70, 0x73, 0x12, 0x1a, 0x0a, 0x08,
|
||||||
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18,
|
0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
||||||
0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0d,
|
0x6f, 0x70, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
|
||||||
0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4d, 0x73, 0x67, 0x54, 0x69, 0x70, 0x73, 0x12, 0x24, 0x0a,
|
0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44,
|
||||||
0x0d, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01,
|
0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x55, 0x73, 0x65,
|
0x73, 0x65, 0x71, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x4d,
|
||||||
0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67,
|
0x73, 0x67, 0x54, 0x69, 0x70, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
||||||
0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72,
|
||||||
0x4d, 0x73, 0x67, 0x49, 0x44, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54,
|
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b,
|
||||||
0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b,
|
0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x74, 0x69, 0x6f,
|
0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x49, 0x44, 0x12, 0x1e,
|
||||||
0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x73,
|
0x0a, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01,
|
||||||
0x73, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71,
|
0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22,
|
||||||
0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x63,
|
0x0a, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x05,
|
||||||
0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20,
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||||
0x6e, 0x49, 0x44, 0x22, 0xb1, 0x03, 0x0a, 0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
|
0x03, 0x73, 0x65, 0x71, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61,
|
||||||
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a,
|
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
|
||||||
0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x22, 0xb1, 0x03, 0x0a,
|
||||||
0x52, 0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x72,
|
0x15, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x64, 0x43,
|
||||||
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
||||||
0x52, 0x0b, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a,
|
0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x76, 0x6f, 0x6b,
|
||||||
0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01,
|
0x65, 0x72, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x52,
|
||||||
0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x49, 0x44, 0x12,
|
0x6f, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x72, 0x65, 0x76, 0x6f, 0x6b,
|
||||||
0x28, 0x0a, 0x0f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
|
0x65, 0x72, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
|
||||||
0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65,
|
0x4d, 0x73, 0x67, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x69,
|
||||||
0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x76,
|
0x65, 0x6e, 0x74, 0x4d, 0x73, 0x67, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x72, 0x65, 0x76, 0x6f,
|
||||||
0x6f, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72,
|
0x6b, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
||||||
0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x6f, 0x75,
|
0x09, 0x52, 0x0f, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61,
|
||||||
0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x69,
|
0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54, 0x69, 0x6d, 0x65,
|
||||||
0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
|
0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x72, 0x65, 0x76, 0x6f, 0x6b, 0x65, 0x54, 0x69,
|
||||||
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
|
0x6d, 0x65, 0x12, 0x34, 0x0a, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73,
|
||||||
0x30, 0x0a, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
|
||||||
0x53, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x6f,
|
0x03, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
||||||
0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x49,
|
0x53, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x73, 0x6f, 0x75, 0x72,
|
||||||
0x44, 0x12, 0x40, 0x0a, 0x1b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x18,
|
||||||
0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65,
|
0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73,
|
||||||
0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65,
|
0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x49, 0x44, 0x12, 0x40, 0x0a, 0x1b, 0x73, 0x6f,
|
||||||
0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e,
|
0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x6e, 0x64, 0x65,
|
||||||
0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79,
|
0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f,
|
0x1b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65,
|
||||||
0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x0b, 0x20, 0x01,
|
0x6e, 0x64, 0x65, 0x72, 0x4e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
|
||||||
0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x0e, 0x0a, 0x02, 0x65, 0x78, 0x18, 0x0c, 0x20,
|
0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
||||||
0x01, 0x28, 0x09, 0x52, 0x02, 0x65, 0x78, 0x22, 0x59, 0x0a, 0x15, 0x43, 0x6c, 0x65, 0x61, 0x72,
|
0x05, 0x52, 0x0b, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10,
|
||||||
0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x70, 0x73,
|
0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71,
|
||||||
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
0x12, 0x0e, 0x0a, 0x02, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x65, 0x78,
|
||||||
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x76,
|
0x22, 0x59, 0x0a, 0x15, 0x43, 0x6c, 0x65, 0x61, 0x72, 0x43, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
||||||
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
|
||||||
0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49,
|
0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
|
||||||
0x44, 0x73, 0x22, 0x64, 0x0a, 0x0e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x73,
|
0x44, 0x12, 0x28, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f,
|
||||||
0x54, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01,
|
0x6e, 0x49, 0x44, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x76,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e,
|
0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x22, 0x64, 0x0a, 0x0e, 0x44,
|
||||||
0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02,
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x73, 0x67, 0x73, 0x54, 0x69, 0x70, 0x73, 0x12, 0x16, 0x0a,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69,
|
0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75,
|
||||||
0x6f, 0x6e, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x03, 0x20, 0x03,
|
0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73,
|
||||||
0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x72,
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63,
|
||||||
0x6b, 0x41, 0x73, 0x52, 0x65, 0x61, 0x64, 0x54, 0x69, 0x70, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x6d,
|
0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x12, 0x0a,
|
||||||
0x61, 0x72, 0x6b, 0x41, 0x73, 0x52, 0x65, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18,
|
0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71,
|
||||||
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x61, 0x72, 0x6b, 0x41, 0x73, 0x52, 0x65, 0x61,
|
0x73, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x41, 0x73, 0x52, 0x65, 0x61, 0x64,
|
||||||
0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65,
|
0x54, 0x69, 0x70, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x6d, 0x61, 0x72, 0x6b, 0x41, 0x73, 0x52, 0x65,
|
||||||
0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
|
||||||
0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12,
|
0x6d, 0x61, 0x72, 0x6b, 0x41, 0x73, 0x52, 0x65, 0x61, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x44,
|
||||||
0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x73,
|
0x12, 0x26, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
||||||
0x65, 0x71, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65,
|
0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x76, 0x65, 0x72,
|
||||||
0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64,
|
0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x71, 0x73,
|
||||||
0x53, 0x65, 0x71, 0x22, 0x57, 0x0a, 0x19, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x63,
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x71, 0x73, 0x12, 0x1e, 0x0a, 0x0a,
|
||||||
0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
|
0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03,
|
||||||
0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
0x52, 0x0a, 0x68, 0x61, 0x73, 0x52, 0x65, 0x61, 0x64, 0x53, 0x65, 0x71, 0x22, 0x57, 0x0a, 0x19,
|
||||||
0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x44, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x42, 0x61,
|
|
||||||
0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
|
|
||||||
0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x1c, 0x0a, 0x1a,
|
|
||||||
0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64,
|
||||||
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x22, 0x53, 0x0a, 0x11, 0x52, 0x65,
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65,
|
||||||
0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
0x72, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49,
|
||||||
0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20,
|
0x44, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x42, 0x61, 0x63, 0x6b, 0x67,
|
||||||
0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20,
|
0x72, 0x6f, 0x75, 0x6e, 0x64, 0x22, 0x1c, 0x0a, 0x1a, 0x53, 0x65, 0x74, 0x41, 0x70, 0x70, 0x42,
|
||||||
0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x68, 0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2a,
|
0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
||||||
0x30, 0x0a, 0x09, 0x50, 0x75, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c,
|
0x65, 0x73, 0x70, 0x22, 0x53, 0x0a, 0x11, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61,
|
||||||
0x50, 0x75, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x41, 0x73, 0x63, 0x10, 0x00, 0x12, 0x11,
|
0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,
|
||||||
0x0a, 0x0d, 0x50, 0x75, 0x6c, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x10,
|
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x70, 0x61,
|
||||||
0x01, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
|
0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x68, 0x6f, 0x77,
|
||||||
0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53, 0x44, 0x4b, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49,
|
0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x68,
|
||||||
0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f,
|
0x6f, 0x77, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x2a, 0x30, 0x0a, 0x09, 0x50, 0x75, 0x6c, 0x6c,
|
||||||
0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x77, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x75, 0x6c, 0x6c, 0x4f, 0x72, 0x64,
|
||||||
|
0x65, 0x72, 0x41, 0x73, 0x63, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x75, 0x6c, 0x6c, 0x4f,
|
||||||
|
0x72, 0x64, 0x65, 0x72, 0x44, 0x65, 0x73, 0x63, 0x10, 0x01, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x69,
|
||||||
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x49, 0x4d, 0x53,
|
||||||
|
0x44, 0x4b, 0x2f, 0x4f, 0x70, 0x65, 0x6e, 0x2d, 0x49, 0x4d, 0x2d, 0x53, 0x65, 0x72, 0x76, 0x65,
|
||||||
|
0x72, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x73, 0x64, 0x6b, 0x77,
|
||||||
|
0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@ -434,6 +434,7 @@ message ConversationSetPrivateTips{
|
|||||||
string recvID = 1;
|
string recvID = 1;
|
||||||
string sendID = 2;
|
string sendID = 2;
|
||||||
bool isPrivate = 3;
|
bool isPrivate = 3;
|
||||||
|
string conversationID = 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ConversationHasReadTips {
|
message ConversationHasReadTips {
|
||||||
|
|||||||
@ -21,10 +21,9 @@
|
|||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
|
||||||
|
|
||||||
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 (
|
||||||
|
|||||||
@ -22,14 +22,13 @@ package third
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
context "context"
|
context "context"
|
||||||
reflect "reflect"
|
|
||||||
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 (
|
||||||
@ -44,7 +43,7 @@ type KeyValues struct {
|
|||||||
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"`
|
||||||
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values"`
|
Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -100,9 +99,9 @@ type SignPart struct {
|
|||||||
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"`
|
||||||
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
|
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url"`
|
||||||
Query []*KeyValues `protobuf:"bytes,3,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,3,rep,name=query,proto3" json:"query"`
|
||||||
Header []*KeyValues `protobuf:"bytes,4,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,4,rep,name=header,proto3" json:"header"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SignPart) Reset() {
|
func (x *SignPart) Reset() {
|
||||||
@ -170,10 +169,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"`
|
||||||
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
||||||
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
||||||
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthSignParts) Reset() {
|
func (x *AuthSignParts) Reset() {
|
||||||
@ -281,7 +280,7 @@ type PartLimitResp struct {
|
|||||||
|
|
||||||
MinPartSize int64 `protobuf:"varint,1,opt,name=minPartSize,proto3" json:"minPartSize"`
|
MinPartSize int64 `protobuf:"varint,1,opt,name=minPartSize,proto3" json:"minPartSize"`
|
||||||
MaxPartSize int64 `protobuf:"varint,2,opt,name=maxPartSize,proto3" json:"maxPartSize"`
|
MaxPartSize int64 `protobuf:"varint,2,opt,name=maxPartSize,proto3" json:"maxPartSize"`
|
||||||
MaxNumSize int32 `protobuf:"varint,3,opt,name=maxNumSize,proto3" json:"maxNumSize"`
|
MaxNumSize int32 `protobuf:"varint,3,opt,name=maxNumSize,proto3" json:"maxNumSize"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *PartLimitResp) Reset() {
|
func (x *PartLimitResp) Reset() {
|
||||||
@ -436,12 +435,12 @@ 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"`
|
||||||
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size"`
|
||||||
PartSize int64 `protobuf:"varint,3,opt,name=partSize,proto3" json:"partSize"`
|
PartSize int64 `protobuf:"varint,3,opt,name=partSize,proto3" json:"partSize"`
|
||||||
MaxParts int32 `protobuf:"varint,4,opt,name=maxParts,proto3" json:"maxParts"`
|
MaxParts int32 `protobuf:"varint,4,opt,name=maxParts,proto3" json:"maxParts"`
|
||||||
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
||||||
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name"`
|
||||||
ContentType string `protobuf:"bytes,7,opt,name=contentType,proto3" json:"contentType"`
|
ContentType string `protobuf:"bytes,7,opt,name=contentType,proto3" json:"contentType"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -531,9 +530,9 @@ 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"`
|
||||||
PartSize int64 `protobuf:"varint,2,opt,name=partSize,proto3" json:"partSize"`
|
PartSize int64 `protobuf:"varint,2,opt,name=partSize,proto3" json:"partSize"`
|
||||||
Sign *AuthSignParts `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign"`
|
Sign *AuthSignParts `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign"`
|
||||||
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -602,7 +601,7 @@ 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"`
|
||||||
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload"`
|
Upload *UploadInfo `protobuf:"bytes,2,opt,name=upload,proto3" json:"upload"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -657,7 +656,7 @@ 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"`
|
||||||
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers"`
|
PartNumbers []int32 `protobuf:"varint,2,rep,packed,name=partNumbers,proto3" json:"partNumbers"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -712,10 +711,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"`
|
||||||
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
Query []*KeyValues `protobuf:"bytes,2,rep,name=query,proto3" json:"query"`
|
||||||
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
Header []*KeyValues `protobuf:"bytes,3,rep,name=header,proto3" json:"header"`
|
||||||
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
Parts []*SignPart `protobuf:"bytes,4,rep,name=parts,proto3" json:"parts"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *AuthSignResp) Reset() {
|
func (x *AuthSignResp) Reset() {
|
||||||
@ -783,11 +782,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"`
|
||||||
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts"`
|
Parts []string `protobuf:"bytes,2,rep,name=parts,proto3" json:"parts"`
|
||||||
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
|
||||||
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType"`
|
ContentType string `protobuf:"bytes,4,opt,name=contentType,proto3" json:"contentType"`
|
||||||
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
Cause string `protobuf:"bytes,5,opt,name=cause,proto3" json:"cause"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *CompleteMultipartUploadReq) Reset() {
|
func (x *CompleteMultipartUploadReq) Reset() {
|
||||||
@ -956,7 +955,7 @@ 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"`
|
||||||
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,2,opt,name=expireTime,proto3" json:"expireTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1012,8 +1011,8 @@ type FcmUpdateTokenReq struct {
|
|||||||
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"`
|
||||||
FcmToken string `protobuf:"bytes,2,opt,name=fcmToken,proto3" json:"fcmToken"`
|
FcmToken string `protobuf:"bytes,2,opt,name=fcmToken,proto3" json:"fcmToken"`
|
||||||
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"`
|
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account"`
|
||||||
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
ExpireTime int64 `protobuf:"varint,4,opt,name=expireTime,proto3" json:"expireTime"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1120,7 +1119,7 @@ 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"`
|
||||||
AppUnreadCount int32 `protobuf:"varint,2,opt,name=appUnreadCount,proto3" json:"appUnreadCount"`
|
AppUnreadCount int32 `protobuf:"varint,2,opt,name=appUnreadCount,proto3" json:"appUnreadCount"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -22,17 +22,15 @@ 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"
|
||||||
|
|
||||||
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 (
|
||||||
@ -94,7 +92,7 @@ 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"`
|
||||||
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
|
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -422,7 +420,7 @@ 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"`
|
||||||
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
GlobalRecvMsgOpt int32 `protobuf:"varint,3,opt,name=globalRecvMsgOpt,proto3" json:"globalRecvMsgOpt"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -515,9 +513,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"`
|
||||||
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,2,opt,name=notificationType,proto3" json:"notificationType"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetConversationReq) Reset() {
|
func (x *SetConversationReq) Reset() {
|
||||||
@ -616,11 +614,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"`
|
||||||
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
ConversationID string `protobuf:"bytes,2,opt,name=conversationID,proto3" json:"conversationID"`
|
||||||
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
RecvMsgOpt int32 `protobuf:"varint,3,opt,name=recvMsgOpt,proto3" json:"recvMsgOpt"`
|
||||||
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,4,opt,name=notificationType,proto3" json:"notificationType"`
|
||||||
OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,5,opt,name=operationID,proto3" json:"operationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SetRecvMsgOptReq) Reset() {
|
func (x *SetRecvMsgOptReq) Reset() {
|
||||||
@ -734,8 +732,8 @@ type GetConversationReq struct {
|
|||||||
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"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=ownerUserID,proto3" json:"ownerUserID"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationReq) Reset() {
|
func (x *GetConversationReq) Reset() {
|
||||||
@ -843,9 +841,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"`
|
||||||
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
ConversationIDs []string `protobuf:"bytes,2,rep,name=conversationIDs,proto3" json:"conversationIDs"`
|
||||||
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
OperationID string `protobuf:"bytes,3,opt,name=operationID,proto3" json:"operationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetConversationsReq) Reset() {
|
func (x *GetConversationsReq) Reset() {
|
||||||
@ -1055,10 +1053,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"`
|
||||||
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID"`
|
OwnerUserID string `protobuf:"bytes,2,opt,name=OwnerUserID,proto3" json:"OwnerUserID"`
|
||||||
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType"`
|
NotificationType int32 `protobuf:"varint,3,opt,name=notificationType,proto3" json:"notificationType"`
|
||||||
OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID"`
|
OperationID string `protobuf:"bytes,4,opt,name=OperationID,proto3" json:"OperationID"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BatchSetConversationsReq) Reset() {
|
func (x *BatchSetConversationsReq) Reset() {
|
||||||
@ -1127,7 +1125,7 @@ type BatchSetConversationsResp struct {
|
|||||||
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"`
|
||||||
Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed"`
|
Failed []string `protobuf:"bytes,3,rep,name=Failed,proto3" json:"Failed"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *BatchSetConversationsResp) Reset() {
|
func (x *BatchSetConversationsResp) Reset() {
|
||||||
@ -1229,7 +1227,7 @@ type GetPaginationUsersResp struct {
|
|||||||
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"`
|
||||||
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *GetPaginationUsersResp) Reset() {
|
func (x *GetPaginationUsersResp) Reset() {
|
||||||
@ -1284,7 +1282,7 @@ type UserRegisterReq struct {
|
|||||||
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"`
|
||||||
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
Users []*sdkws.UserInfo `protobuf:"bytes,2,rep,name=users,proto3" json:"users"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterReq) Reset() {
|
func (x *UserRegisterReq) Reset() {
|
||||||
@ -1471,7 +1469,7 @@ type UserRegisterCountReq struct {
|
|||||||
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"`
|
||||||
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterCountReq) Reset() {
|
func (x *UserRegisterCountReq) Reset() {
|
||||||
@ -1525,9 +1523,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"`
|
||||||
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before"`
|
Before int64 `protobuf:"varint,2,opt,name=before,proto3" json:"before"`
|
||||||
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" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *UserRegisterCountResp) Reset() {
|
func (x *UserRegisterCountResp) Reset() {
|
||||||
@ -1588,7 +1586,7 @@ 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"`
|
||||||
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus"`
|
AccountStatus string `protobuf:"bytes,2,opt,name=accountStatus,proto3" json:"accountStatus"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -21,11 +21,10 @@
|
|||||||
package wrapperspb
|
package wrapperspb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
reflect "reflect"
|
|
||||||
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 (
|
||||||
|
|||||||
@ -31,23 +31,22 @@ func NewConversationNotificationSender(msgRpcClient *rpcclient.MessageRpcClient)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// SetPrivate调用.
|
// SetPrivate调用.
|
||||||
func (c *ConversationNotificationSender) ConversationSetPrivateNotification(
|
func (c *ConversationNotificationSender) ConversationSetPrivateNotification(ctx context.Context, sendID, recvID string,
|
||||||
ctx context.Context,
|
isPrivateChat bool, conversationID string) error {
|
||||||
sendID, recvID string,
|
|
||||||
isPrivateChat bool,
|
|
||||||
) error {
|
|
||||||
tips := &sdkws.ConversationSetPrivateTips{
|
tips := &sdkws.ConversationSetPrivateTips{
|
||||||
RecvID: recvID,
|
RecvID: recvID,
|
||||||
SendID: sendID,
|
SendID: sendID,
|
||||||
IsPrivate: isPrivateChat,
|
IsPrivate: isPrivateChat,
|
||||||
|
ConversationID: conversationID,
|
||||||
}
|
}
|
||||||
return c.Notification(ctx, sendID, recvID, constant.ConversationPrivateChatNotification, tips)
|
return c.Notification(ctx, sendID, recvID, constant.ConversationPrivateChatNotification, tips)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 会话改变.
|
// 会话改变.
|
||||||
func (c *ConversationNotificationSender) ConversationChangeNotification(ctx context.Context, userID string) error {
|
func (c *ConversationNotificationSender) ConversationChangeNotification(ctx context.Context, userID string, conversationIDs []string) error {
|
||||||
tips := &sdkws.ConversationUpdateTips{
|
tips := &sdkws.ConversationUpdateTips{
|
||||||
UserID: userID,
|
UserID: userID,
|
||||||
|
ConversationIDList: conversationIDs,
|
||||||
}
|
}
|
||||||
return c.Notification(ctx, userID, userID, constant.ConversationChangeNotification, tips)
|
return c.Notification(ctx, userID, userID, constant.ConversationChangeNotification, tips)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user