|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
|
// versions:
|
|
|
|
|
// protoc-gen-go v1.25.0
|
|
|
|
|
// protoc-gen-go v1.29.1
|
|
|
|
|
// protoc v4.22.0
|
|
|
|
|
// source: group/group.proto
|
|
|
|
|
|
|
|
|
@ -10,7 +10,6 @@ import (
|
|
|
|
|
context "context"
|
|
|
|
|
sdkws "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/sdkws"
|
|
|
|
|
wrapperspb "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/wrapperspb"
|
|
|
|
|
proto "github.com/golang/protobuf/proto"
|
|
|
|
|
grpc "google.golang.org/grpc"
|
|
|
|
|
codes "google.golang.org/grpc/codes"
|
|
|
|
|
status "google.golang.org/grpc/status"
|
|
|
|
@ -27,19 +26,15 @@ const (
|
|
|
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// This is a compile-time assertion that a sufficiently up-to-date version
|
|
|
|
|
// of the legacy proto package is being used.
|
|
|
|
|
const _ = proto.ProtoPackageIsVersion4
|
|
|
|
|
|
|
|
|
|
type CreateGroupReq struct {
|
|
|
|
|
state protoimpl.MessageState
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
InitMembers []string `protobuf:"bytes,1,rep,name=initMembers,proto3" json:"initMembers,omitempty"`
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
|
|
|
|
AdminUserIDs []string `protobuf:"bytes,3,rep,name=adminUserIDs,proto3" json:"adminUserIDs,omitempty"`
|
|
|
|
|
OwnerUserID string `protobuf:"bytes,4,opt,name=ownerUserID,proto3" json:"ownerUserID,omitempty"` //owner
|
|
|
|
|
InitMembers []string `protobuf:"bytes,1,rep,name=initMembers,proto3" json:"initMembers"`
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,2,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
|
|
|
AdminUserIDs []string `protobuf:"bytes,3,rep,name=adminUserIDs,proto3" json:"adminUserIDs"`
|
|
|
|
|
OwnerUserID string `protobuf:"bytes,4,opt,name=ownerUserID,proto3" json:"ownerUserID"` //owner
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateGroupReq) Reset() {
|
|
|
|
@ -107,7 +102,7 @@ type CreateGroupResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CreateGroupResp) Reset() {
|
|
|
|
@ -154,7 +149,7 @@ type GetGroupsInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupsInfoReq) Reset() {
|
|
|
|
@ -201,7 +196,7 @@ type GetGroupsInfoResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos,omitempty"`
|
|
|
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupsInfoResp) Reset() {
|
|
|
|
@ -248,7 +243,7 @@ type SetGroupInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupInfoForSet *sdkws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet,proto3" json:"groupInfoForSet,omitempty"`
|
|
|
|
|
GroupInfoForSet *sdkws.GroupInfoForSet `protobuf:"bytes,1,opt,name=groupInfoForSet,proto3" json:"groupInfoForSet"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetGroupInfoReq) Reset() {
|
|
|
|
@ -333,8 +328,8 @@ type GetGroupApplicationListReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"` //owner or admin
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"` //owner or admin
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupApplicationListReq) Reset() {
|
|
|
|
@ -388,8 +383,8 @@ type GetGroupApplicationListResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupApplicationListResp) Reset() {
|
|
|
|
@ -443,8 +438,8 @@ type GetUserReqApplicationListReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetUserReqApplicationListReq) Reset() {
|
|
|
|
@ -498,8 +493,8 @@ type GetUserReqApplicationListResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
GroupRequests []*sdkws.GroupRequest `protobuf:"bytes,2,rep,name=groupRequests,proto3" json:"groupRequests"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetUserReqApplicationListResp) Reset() {
|
|
|
|
@ -553,9 +548,9 @@ type TransferGroupOwnerReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
OldOwnerUserID string `protobuf:"bytes,2,opt,name=oldOwnerUserID,proto3" json:"oldOwnerUserID,omitempty"`
|
|
|
|
|
NewOwnerUserID string `protobuf:"bytes,3,opt,name=newOwnerUserID,proto3" json:"newOwnerUserID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
OldOwnerUserID string `protobuf:"bytes,2,opt,name=oldOwnerUserID,proto3" json:"oldOwnerUserID"`
|
|
|
|
|
NewOwnerUserID string `protobuf:"bytes,3,opt,name=newOwnerUserID,proto3" json:"newOwnerUserID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *TransferGroupOwnerReq) Reset() {
|
|
|
|
@ -654,10 +649,10 @@ type JoinGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
ReqMessage string `protobuf:"bytes,2,opt,name=reqMessage,proto3" json:"reqMessage,omitempty"`
|
|
|
|
|
JoinSource int32 `protobuf:"varint,3,opt,name=joinSource,proto3" json:"joinSource,omitempty"`
|
|
|
|
|
InviterUserID string `protobuf:"bytes,4,opt,name=inviterUserID,proto3" json:"inviterUserID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
ReqMessage string `protobuf:"bytes,2,opt,name=reqMessage,proto3" json:"reqMessage"`
|
|
|
|
|
JoinSource int32 `protobuf:"varint,3,opt,name=joinSource,proto3" json:"joinSource"`
|
|
|
|
|
InviterUserID string `protobuf:"bytes,4,opt,name=inviterUserID,proto3" json:"inviterUserID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *JoinGroupReq) Reset() {
|
|
|
|
@ -763,10 +758,10 @@ type GroupApplicationResponseReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"` //
|
|
|
|
|
HandledMsg string `protobuf:"bytes,3,opt,name=handledMsg,proto3" json:"handledMsg,omitempty"`
|
|
|
|
|
HandleResult int32 `protobuf:"varint,4,opt,name=handleResult,proto3" json:"handleResult,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"` //
|
|
|
|
|
HandledMsg string `protobuf:"bytes,3,opt,name=handledMsg,proto3" json:"handledMsg"`
|
|
|
|
|
HandleResult int32 `protobuf:"varint,4,opt,name=handleResult,proto3" json:"handleResult"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GroupApplicationResponseReq) Reset() {
|
|
|
|
@ -872,7 +867,7 @@ type QuitGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *QuitGroupReq) Reset() {
|
|
|
|
@ -957,9 +952,9 @@ type GetGroupMemberListReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
Filter int32 `protobuf:"varint,3,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
Filter int32 `protobuf:"varint,3,opt,name=filter,proto3" json:"filter"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberListReq) Reset() {
|
|
|
|
@ -1020,8 +1015,8 @@ type GetGroupMemberListResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberListResp) Reset() {
|
|
|
|
@ -1075,8 +1070,8 @@ type GetGroupMembersInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
UserIDs []string `protobuf:"bytes,2,rep,name=userIDs,proto3" json:"userIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMembersInfoReq) Reset() {
|
|
|
|
@ -1130,7 +1125,7 @@ type GetGroupMembersInfoResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMembersInfoResp) Reset() {
|
|
|
|
@ -1177,9 +1172,9 @@ type KickGroupMemberReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
KickedUserIDs []string `protobuf:"bytes,2,rep,name=kickedUserIDs,proto3" json:"kickedUserIDs,omitempty"`
|
|
|
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
KickedUserIDs []string `protobuf:"bytes,2,rep,name=kickedUserIDs,proto3" json:"kickedUserIDs"`
|
|
|
|
|
Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *KickGroupMemberReq) Reset() {
|
|
|
|
@ -1278,8 +1273,8 @@ type GetJoinedGroupListReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
FromUserID string `protobuf:"bytes,2,opt,name=fromUserID,proto3" json:"fromUserID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetJoinedGroupListReq) Reset() {
|
|
|
|
@ -1333,8 +1328,8 @@ type GetJoinedGroupListResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetJoinedGroupListResp) Reset() {
|
|
|
|
@ -1388,9 +1383,9 @@ type InviteUserToGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
|
|
|
|
|
InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs,proto3" json:"invitedUserIDs,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason"`
|
|
|
|
|
InvitedUserIDs []string `protobuf:"bytes,3,rep,name=invitedUserIDs,proto3" json:"invitedUserIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *InviteUserToGroupReq) Reset() {
|
|
|
|
@ -1489,8 +1484,8 @@ type GetGroupAllMemberReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupAllMemberReq) Reset() {
|
|
|
|
@ -1544,7 +1539,7 @@ type GetGroupAllMemberResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupAllMemberResp) Reset() {
|
|
|
|
@ -1591,9 +1586,9 @@ type CMSGroup struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo,omitempty"`
|
|
|
|
|
GroupOwnerUserName string `protobuf:"bytes,2,opt,name=groupOwnerUserName,proto3" json:"groupOwnerUserName,omitempty"`
|
|
|
|
|
GroupOwnerUserID string `protobuf:"bytes,3,opt,name=groupOwnerUserID,proto3" json:"groupOwnerUserID,omitempty"`
|
|
|
|
|
GroupInfo *sdkws.GroupInfo `protobuf:"bytes,1,opt,name=groupInfo,proto3" json:"groupInfo"`
|
|
|
|
|
GroupOwnerUserName string `protobuf:"bytes,2,opt,name=groupOwnerUserName,proto3" json:"groupOwnerUserName"`
|
|
|
|
|
GroupOwnerUserID string `protobuf:"bytes,3,opt,name=groupOwnerUserID,proto3" json:"groupOwnerUserID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CMSGroup) Reset() {
|
|
|
|
@ -1654,9 +1649,9 @@ type GetGroupsReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
GroupName string `protobuf:"bytes,2,opt,name=groupName,proto3" json:"groupName"`
|
|
|
|
|
GroupID string `protobuf:"bytes,3,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupsReq) Reset() {
|
|
|
|
@ -1717,8 +1712,8 @@ type GetGroupsResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
Groups []*CMSGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
Groups []*CMSGroup `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupsResp) Reset() {
|
|
|
|
@ -1772,7 +1767,7 @@ type GetGroupMemberReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberReq) Reset() {
|
|
|
|
@ -1819,9 +1814,9 @@ type GetGroupMembersCMSReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName,omitempty"`
|
|
|
|
|
Pagination *sdkws.RequestPagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination"`
|
|
|
|
|
GroupID string `protobuf:"bytes,2,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
UserName string `protobuf:"bytes,3,opt,name=userName,proto3" json:"userName"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMembersCMSReq) Reset() {
|
|
|
|
@ -1882,8 +1877,8 @@ type GetGroupMembersCMSResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMembersCMSResp) Reset() {
|
|
|
|
@ -1937,8 +1932,8 @@ type DismissGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
DeleteMember bool `protobuf:"varint,2,opt,name=deleteMember,proto3" json:"deleteMember,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
DeleteMember bool `protobuf:"varint,2,opt,name=deleteMember,proto3" json:"deleteMember"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *DismissGroupReq) Reset() {
|
|
|
|
@ -2030,9 +2025,9 @@ type MuteGroupMemberReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
MutedSeconds uint32 `protobuf:"varint,3,opt,name=mutedSeconds,proto3" json:"mutedSeconds,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
MutedSeconds uint32 `protobuf:"varint,3,opt,name=mutedSeconds,proto3" json:"mutedSeconds"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *MuteGroupMemberReq) Reset() {
|
|
|
|
@ -2131,8 +2126,8 @@ type CancelMuteGroupMemberReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CancelMuteGroupMemberReq) Reset() {
|
|
|
|
@ -2224,7 +2219,7 @@ type MuteGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *MuteGroupReq) Reset() {
|
|
|
|
@ -2309,7 +2304,7 @@ type CancelMuteGroupReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *CancelMuteGroupReq) Reset() {
|
|
|
|
@ -2394,7 +2389,7 @@ type GetJoinedSuperGroupListReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetJoinedSuperGroupListReq) Reset() {
|
|
|
|
@ -2441,7 +2436,7 @@ type GetJoinedSuperGroupListResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
|
|
|
|
|
Groups []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetJoinedSuperGroupListResp) Reset() {
|
|
|
|
@ -2488,7 +2483,7 @@ type GetSuperGroupsInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetSuperGroupsInfoReq) Reset() {
|
|
|
|
@ -2535,7 +2530,7 @@ type GetSuperGroupsInfoResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos,omitempty"`
|
|
|
|
|
GroupInfos []*sdkws.GroupInfo `protobuf:"bytes,1,rep,name=groupInfos,proto3" json:"groupInfos"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetSuperGroupsInfoResp) Reset() {
|
|
|
|
@ -2582,12 +2577,12 @@ type SetGroupMemberInfo struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
Nickname *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname,omitempty"`
|
|
|
|
|
FaceURL *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL,omitempty"`
|
|
|
|
|
RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=roleLevel,proto3" json:"roleLevel,omitempty"`
|
|
|
|
|
Ex *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
Nickname *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=nickname,proto3" json:"nickname"`
|
|
|
|
|
FaceURL *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=faceURL,proto3" json:"faceURL"`
|
|
|
|
|
RoleLevel *wrapperspb.Int32Value `protobuf:"bytes,5,opt,name=roleLevel,proto3" json:"roleLevel"`
|
|
|
|
|
Ex *wrapperspb.StringValue `protobuf:"bytes,6,opt,name=ex,proto3" json:"ex"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetGroupMemberInfo) Reset() {
|
|
|
|
@ -2669,7 +2664,7 @@ type SetGroupMemberInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Members []*SetGroupMemberInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Members []*SetGroupMemberInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *SetGroupMemberInfoReq) Reset() {
|
|
|
|
@ -2754,7 +2749,7 @@ type GetGroupAbstractInfoReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,1,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupAbstractInfoReq) Reset() {
|
|
|
|
@ -2801,9 +2796,9 @@ type GroupAbstractInfo struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber,omitempty"`
|
|
|
|
|
GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
GroupMemberNumber uint32 `protobuf:"varint,2,opt,name=groupMemberNumber,proto3" json:"groupMemberNumber"`
|
|
|
|
|
GroupMemberListHash uint64 `protobuf:"varint,3,opt,name=groupMemberListHash,proto3" json:"groupMemberListHash"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GroupAbstractInfo) Reset() {
|
|
|
|
@ -2864,7 +2859,7 @@ type GetGroupAbstractInfoResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupAbstractInfos []*GroupAbstractInfo `protobuf:"bytes,1,rep,name=groupAbstractInfos,proto3" json:"groupAbstractInfos,omitempty"`
|
|
|
|
|
GroupAbstractInfos []*GroupAbstractInfo `protobuf:"bytes,1,rep,name=groupAbstractInfos,proto3" json:"groupAbstractInfos"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupAbstractInfoResp) Reset() {
|
|
|
|
@ -2911,8 +2906,8 @@ type GetUserInGroupMembersReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs,proto3" json:"groupIDs,omitempty"`
|
|
|
|
|
UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID"`
|
|
|
|
|
GroupIDs []string `protobuf:"bytes,2,rep,name=groupIDs,proto3" json:"groupIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInGroupMembersReq) Reset() {
|
|
|
|
@ -2966,7 +2961,7 @@ type GetUserInGroupMembersResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetUserInGroupMembersResp) Reset() {
|
|
|
|
@ -3013,7 +3008,7 @@ type GetGroupMemberUserIDsReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberUserIDsReq) Reset() {
|
|
|
|
@ -3060,7 +3055,7 @@ type GetGroupMemberUserIDsResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs,omitempty"`
|
|
|
|
|
UserIDs []string `protobuf:"bytes,1,rep,name=userIDs,proto3" json:"userIDs"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberUserIDsResp) Reset() {
|
|
|
|
@ -3107,8 +3102,8 @@ type GetGroupMemberRoleLevelReq struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID,omitempty"`
|
|
|
|
|
RoleLevels []int32 `protobuf:"varint,2,rep,packed,name=roleLevels,proto3" json:"roleLevels,omitempty"`
|
|
|
|
|
GroupID string `protobuf:"bytes,1,opt,name=groupID,proto3" json:"groupID"`
|
|
|
|
|
RoleLevels []int32 `protobuf:"varint,2,rep,packed,name=roleLevels,proto3" json:"roleLevels"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberRoleLevelReq) Reset() {
|
|
|
|
@ -3162,7 +3157,7 @@ type GetGroupMemberRoleLevelResp struct {
|
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
|
|
|
Members []*sdkws.GroupMemberFullInfo `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func (x *GetGroupMemberRoleLevelResp) Reset() {
|
|
|
|
@ -4705,60 +4700,60 @@ const _ = grpc.SupportPackageIsVersion6
|
|
|
|
|
//
|
|
|
|
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
|
|
|
|
type GroupClient interface {
|
|
|
|
|
//创建群
|
|
|
|
|
// 创建群
|
|
|
|
|
CreateGroup(ctx context.Context, in *CreateGroupReq, opts ...grpc.CallOption) (*CreateGroupResp, error)
|
|
|
|
|
//申请加群
|
|
|
|
|
// 申请加群
|
|
|
|
|
JoinGroup(ctx context.Context, in *JoinGroupReq, opts ...grpc.CallOption) (*JoinGroupResp, error)
|
|
|
|
|
//退出群
|
|
|
|
|
// 退出群
|
|
|
|
|
QuitGroup(ctx context.Context, in *QuitGroupReq, opts ...grpc.CallOption) (*QuitGroupResp, error)
|
|
|
|
|
//获取指定群信息
|
|
|
|
|
// 获取指定群信息
|
|
|
|
|
GetGroupsInfo(ctx context.Context, in *GetGroupsInfoReq, opts ...grpc.CallOption) (*GetGroupsInfoResp, error)
|
|
|
|
|
//设置群信息
|
|
|
|
|
// 设置群信息
|
|
|
|
|
SetGroupInfo(ctx context.Context, in *SetGroupInfoReq, opts ...grpc.CallOption) (*SetGroupInfoResp, error)
|
|
|
|
|
//(以管理员或群主身份)获取群的加群申请
|
|
|
|
|
// (以管理员或群主身份)获取群的加群申请
|
|
|
|
|
GetGroupApplicationList(ctx context.Context, in *GetGroupApplicationListReq, opts ...grpc.CallOption) (*GetGroupApplicationListResp, error)
|
|
|
|
|
//获取用户自己的主动加群申请
|
|
|
|
|
// 获取用户自己的主动加群申请
|
|
|
|
|
GetUserReqApplicationList(ctx context.Context, in *GetUserReqApplicationListReq, opts ...grpc.CallOption) (*GetUserReqApplicationListResp, error)
|
|
|
|
|
//转让群主
|
|
|
|
|
// 转让群主
|
|
|
|
|
TransferGroupOwner(ctx context.Context, in *TransferGroupOwnerReq, opts ...grpc.CallOption) (*TransferGroupOwnerResp, error)
|
|
|
|
|
//群主或管理员处理进群申请
|
|
|
|
|
// 群主或管理员处理进群申请
|
|
|
|
|
GroupApplicationResponse(ctx context.Context, in *GroupApplicationResponseReq, opts ...grpc.CallOption) (*GroupApplicationResponseResp, error)
|
|
|
|
|
//获取某个群的群成员
|
|
|
|
|
// 获取某个群的群成员
|
|
|
|
|
GetGroupMemberList(ctx context.Context, in *GetGroupMemberListReq, opts ...grpc.CallOption) (*GetGroupMemberListResp, error)
|
|
|
|
|
//获取某个群的指定群成员
|
|
|
|
|
// 获取某个群的指定群成员
|
|
|
|
|
GetGroupMembersInfo(ctx context.Context, in *GetGroupMembersInfoReq, opts ...grpc.CallOption) (*GetGroupMembersInfoResp, error)
|
|
|
|
|
//踢出群
|
|
|
|
|
// 踢出群
|
|
|
|
|
KickGroupMember(ctx context.Context, in *KickGroupMemberReq, opts ...grpc.CallOption) (*KickGroupMemberResp, error)
|
|
|
|
|
//获取某个人已加入群
|
|
|
|
|
// 获取某个人已加入群
|
|
|
|
|
GetJoinedGroupList(ctx context.Context, in *GetJoinedGroupListReq, opts ...grpc.CallOption) (*GetJoinedGroupListResp, error)
|
|
|
|
|
//邀请某些人进群
|
|
|
|
|
// 邀请某些人进群
|
|
|
|
|
InviteUserToGroup(ctx context.Context, in *InviteUserToGroupReq, opts ...grpc.CallOption) (*InviteUserToGroupResp, error)
|
|
|
|
|
GetGroups(ctx context.Context, in *GetGroupsReq, opts ...grpc.CallOption) (*GetGroupsResp, error)
|
|
|
|
|
GetGroupMembersCMS(ctx context.Context, in *GetGroupMembersCMSReq, opts ...grpc.CallOption) (*GetGroupMembersCMSResp, error)
|
|
|
|
|
//解散群
|
|
|
|
|
// 解散群
|
|
|
|
|
DismissGroup(ctx context.Context, in *DismissGroupReq, opts ...grpc.CallOption) (*DismissGroupResp, error)
|
|
|
|
|
//对某个群成员禁言
|
|
|
|
|
// 对某个群成员禁言
|
|
|
|
|
MuteGroupMember(ctx context.Context, in *MuteGroupMemberReq, opts ...grpc.CallOption) (*MuteGroupMemberResp, error)
|
|
|
|
|
//对某个群成员取消禁言
|
|
|
|
|
// 对某个群成员取消禁言
|
|
|
|
|
CancelMuteGroupMember(ctx context.Context, in *CancelMuteGroupMemberReq, opts ...grpc.CallOption) (*CancelMuteGroupMemberResp, error)
|
|
|
|
|
//对某个群禁言
|
|
|
|
|
// 对某个群禁言
|
|
|
|
|
MuteGroup(ctx context.Context, in *MuteGroupReq, opts ...grpc.CallOption) (*MuteGroupResp, error)
|
|
|
|
|
//对某个群取消禁言
|
|
|
|
|
// 对某个群取消禁言
|
|
|
|
|
CancelMuteGroup(ctx context.Context, in *CancelMuteGroupReq, opts ...grpc.CallOption) (*CancelMuteGroupResp, error)
|
|
|
|
|
//获取某个用户加入的超级群
|
|
|
|
|
// 获取某个用户加入的超级群
|
|
|
|
|
GetJoinedSuperGroupList(ctx context.Context, in *GetJoinedSuperGroupListReq, opts ...grpc.CallOption) (*GetJoinedSuperGroupListResp, error)
|
|
|
|
|
//获取指定的超级群信息
|
|
|
|
|
// 获取指定的超级群信息
|
|
|
|
|
GetSuperGroupsInfo(ctx context.Context, in *GetSuperGroupsInfoReq, opts ...grpc.CallOption) (*GetSuperGroupsInfoResp, error)
|
|
|
|
|
//设置群成员昵称
|
|
|
|
|
//设置群成员信息
|
|
|
|
|
// 设置群成员昵称
|
|
|
|
|
// 设置群成员信息
|
|
|
|
|
SetGroupMemberInfo(ctx context.Context, in *SetGroupMemberInfoReq, opts ...grpc.CallOption) (*SetGroupMemberInfoResp, error)
|
|
|
|
|
//获取群信息hash值
|
|
|
|
|
// 获取群信息hash值
|
|
|
|
|
GetGroupAbstractInfo(ctx context.Context, in *GetGroupAbstractInfoReq, opts ...grpc.CallOption) (*GetGroupAbstractInfoResp, error)
|
|
|
|
|
//获取某个用户在指定群中的信息
|
|
|
|
|
// 获取某个用户在指定群中的信息
|
|
|
|
|
GetUserInGroupMembers(ctx context.Context, in *GetUserInGroupMembersReq, opts ...grpc.CallOption) (*GetUserInGroupMembersResp, error)
|
|
|
|
|
//获取群成员用户ID
|
|
|
|
|
// 获取群成员用户ID
|
|
|
|
|
GetGroupMemberUserIDs(ctx context.Context, in *GetGroupMemberUserIDsReq, opts ...grpc.CallOption) (*GetGroupMemberUserIDsResp, error)
|
|
|
|
|
//查询群组中对应级别的成员
|
|
|
|
|
// 查询群组中对应级别的成员
|
|
|
|
|
GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupMemberRoleLevelReq, opts ...grpc.CallOption) (*GetGroupMemberRoleLevelResp, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -5024,60 +5019,60 @@ func (c *groupClient) GetGroupMemberRoleLevel(ctx context.Context, in *GetGroupM
|
|
|
|
|
|
|
|
|
|
// GroupServer is the server API for Group service.
|
|
|
|
|
type GroupServer interface {
|
|
|
|
|
//创建群
|
|
|
|
|
// 创建群
|
|
|
|
|
CreateGroup(context.Context, *CreateGroupReq) (*CreateGroupResp, error)
|
|
|
|
|
//申请加群
|
|
|
|
|
// 申请加群
|
|
|
|
|
JoinGroup(context.Context, *JoinGroupReq) (*JoinGroupResp, error)
|
|
|
|
|
//退出群
|
|
|
|
|
// 退出群
|
|
|
|
|
QuitGroup(context.Context, *QuitGroupReq) (*QuitGroupResp, error)
|
|
|
|
|
//获取指定群信息
|
|
|
|
|
// 获取指定群信息
|
|
|
|
|
GetGroupsInfo(context.Context, *GetGroupsInfoReq) (*GetGroupsInfoResp, error)
|
|
|
|
|
//设置群信息
|
|
|
|
|
// 设置群信息
|
|
|
|
|
SetGroupInfo(context.Context, *SetGroupInfoReq) (*SetGroupInfoResp, error)
|
|
|
|
|
//(以管理员或群主身份)获取群的加群申请
|
|
|
|
|
// (以管理员或群主身份)获取群的加群申请
|
|
|
|
|
GetGroupApplicationList(context.Context, *GetGroupApplicationListReq) (*GetGroupApplicationListResp, error)
|
|
|
|
|
//获取用户自己的主动加群申请
|
|
|
|
|
// 获取用户自己的主动加群申请
|
|
|
|
|
GetUserReqApplicationList(context.Context, *GetUserReqApplicationListReq) (*GetUserReqApplicationListResp, error)
|
|
|
|
|
//转让群主
|
|
|
|
|
// 转让群主
|
|
|
|
|
TransferGroupOwner(context.Context, *TransferGroupOwnerReq) (*TransferGroupOwnerResp, error)
|
|
|
|
|
//群主或管理员处理进群申请
|
|
|
|
|
// 群主或管理员处理进群申请
|
|
|
|
|
GroupApplicationResponse(context.Context, *GroupApplicationResponseReq) (*GroupApplicationResponseResp, error)
|
|
|
|
|
//获取某个群的群成员
|
|
|
|
|
// 获取某个群的群成员
|
|
|
|
|
GetGroupMemberList(context.Context, *GetGroupMemberListReq) (*GetGroupMemberListResp, error)
|
|
|
|
|
//获取某个群的指定群成员
|
|
|
|
|
// 获取某个群的指定群成员
|
|
|
|
|
GetGroupMembersInfo(context.Context, *GetGroupMembersInfoReq) (*GetGroupMembersInfoResp, error)
|
|
|
|
|
//踢出群
|
|
|
|
|
// 踢出群
|
|
|
|
|
KickGroupMember(context.Context, *KickGroupMemberReq) (*KickGroupMemberResp, error)
|
|
|
|
|
//获取某个人已加入群
|
|
|
|
|
// 获取某个人已加入群
|
|
|
|
|
GetJoinedGroupList(context.Context, *GetJoinedGroupListReq) (*GetJoinedGroupListResp, error)
|
|
|
|
|
//邀请某些人进群
|
|
|
|
|
// 邀请某些人进群
|
|
|
|
|
InviteUserToGroup(context.Context, *InviteUserToGroupReq) (*InviteUserToGroupResp, error)
|
|
|
|
|
GetGroups(context.Context, *GetGroupsReq) (*GetGroupsResp, error)
|
|
|
|
|
GetGroupMembersCMS(context.Context, *GetGroupMembersCMSReq) (*GetGroupMembersCMSResp, error)
|
|
|
|
|
//解散群
|
|
|
|
|
// 解散群
|
|
|
|
|
DismissGroup(context.Context, *DismissGroupReq) (*DismissGroupResp, error)
|
|
|
|
|
//对某个群成员禁言
|
|
|
|
|
// 对某个群成员禁言
|
|
|
|
|
MuteGroupMember(context.Context, *MuteGroupMemberReq) (*MuteGroupMemberResp, error)
|
|
|
|
|
//对某个群成员取消禁言
|
|
|
|
|
// 对某个群成员取消禁言
|
|
|
|
|
CancelMuteGroupMember(context.Context, *CancelMuteGroupMemberReq) (*CancelMuteGroupMemberResp, error)
|
|
|
|
|
//对某个群禁言
|
|
|
|
|
// 对某个群禁言
|
|
|
|
|
MuteGroup(context.Context, *MuteGroupReq) (*MuteGroupResp, error)
|
|
|
|
|
//对某个群取消禁言
|
|
|
|
|
// 对某个群取消禁言
|
|
|
|
|
CancelMuteGroup(context.Context, *CancelMuteGroupReq) (*CancelMuteGroupResp, error)
|
|
|
|
|
//获取某个用户加入的超级群
|
|
|
|
|
// 获取某个用户加入的超级群
|
|
|
|
|
GetJoinedSuperGroupList(context.Context, *GetJoinedSuperGroupListReq) (*GetJoinedSuperGroupListResp, error)
|
|
|
|
|
//获取指定的超级群信息
|
|
|
|
|
// 获取指定的超级群信息
|
|
|
|
|
GetSuperGroupsInfo(context.Context, *GetSuperGroupsInfoReq) (*GetSuperGroupsInfoResp, error)
|
|
|
|
|
//设置群成员昵称
|
|
|
|
|
//设置群成员信息
|
|
|
|
|
// 设置群成员昵称
|
|
|
|
|
// 设置群成员信息
|
|
|
|
|
SetGroupMemberInfo(context.Context, *SetGroupMemberInfoReq) (*SetGroupMemberInfoResp, error)
|
|
|
|
|
//获取群信息hash值
|
|
|
|
|
// 获取群信息hash值
|
|
|
|
|
GetGroupAbstractInfo(context.Context, *GetGroupAbstractInfoReq) (*GetGroupAbstractInfoResp, error)
|
|
|
|
|
//获取某个用户在指定群中的信息
|
|
|
|
|
// 获取某个用户在指定群中的信息
|
|
|
|
|
GetUserInGroupMembers(context.Context, *GetUserInGroupMembersReq) (*GetUserInGroupMembersResp, error)
|
|
|
|
|
//获取群成员用户ID
|
|
|
|
|
// 获取群成员用户ID
|
|
|
|
|
GetGroupMemberUserIDs(context.Context, *GetGroupMemberUserIDsReq) (*GetGroupMemberUserIDsResp, error)
|
|
|
|
|
//查询群组中对应级别的成员
|
|
|
|
|
// 查询群组中对应级别的成员
|
|
|
|
|
GetGroupMemberRoleLevel(context.Context, *GetGroupMemberRoleLevelReq) (*GetGroupMemberRoleLevelResp, error)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|