2021-05-26 20:06:02 +08:00
|
|
|
syntax = "proto3";
|
2021-12-23 17:22:49 +08:00
|
|
|
import "Open_IM/pkg/proto/sdk_ws/ws.proto";
|
2022-06-02 18:17:11 +08:00
|
|
|
import "Open_IM/pkg/proto/sdk_ws/wrappers.proto";
|
2021-11-10 15:24:59 +08:00
|
|
|
option go_package = "./group;group";
|
2021-05-26 20:06:02 +08:00
|
|
|
package group;
|
|
|
|
|
|
|
|
|
|
message CommonResp{
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message GroupAddMemberInfo{
|
|
|
|
|
string UserID = 1;
|
2021-12-26 18:47:11 +08:00
|
|
|
int32 RoleLevel = 2;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-21 21:40:50 +08:00
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message CreateGroupReq{
|
2021-12-26 18:47:11 +08:00
|
|
|
repeated GroupAddMemberInfo InitMemberList = 1;
|
2022-01-15 15:25:12 +08:00
|
|
|
server_api_params.GroupInfo GroupInfo = 2;
|
2021-12-26 18:47:11 +08:00
|
|
|
string OperationID = 3;
|
|
|
|
|
string OpUserID = 4; //app manager or group owner
|
|
|
|
|
string OwnerUserID = 5; //owner
|
2022-02-11 18:49:17 +08:00
|
|
|
|
|
|
|
|
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
message CreateGroupResp{
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
server_api_params.GroupInfo GroupInfo = 3;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-12-26 18:47:11 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupsInfoReq{
|
2021-12-23 17:22:49 +08:00
|
|
|
repeated string GroupIDList = 1;
|
|
|
|
|
string OperationID = 2;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 3; //No verification permission
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupsInfoResp{
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupInfo GroupInfoList = 3;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message SetGroupInfoReq{
|
2022-06-28 20:39:27 +08:00
|
|
|
server_api_params.GroupInfoForSet groupInfoForSet = 1;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 2; //app manager or group owner
|
|
|
|
|
string OperationID = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message SetGroupInfoResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
|
2021-12-23 18:29:39 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupApplicationListReq {
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 1; //app manager or group owner(manager)
|
2021-09-06 17:48:14 +08:00
|
|
|
string OperationID = 2;
|
2021-12-26 18:47:11 +08:00
|
|
|
string FromUserID = 3; //owner or manager
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupApplicationListResp {
|
2021-09-06 17:48:14 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupRequest GroupRequestList = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2022-02-09 19:20:46 +08:00
|
|
|
message GetUserReqApplicationListReq{
|
|
|
|
|
string UserID = 1;
|
|
|
|
|
string OpUserID = 2;
|
|
|
|
|
string OperationID = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetUserReqApplicationListResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
repeated server_api_params.GroupRequest GroupRequestList = 2;
|
|
|
|
|
}
|
|
|
|
|
|
2021-12-26 18:47:11 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message TransferGroupOwnerReq {
|
2021-09-06 17:48:14 +08:00
|
|
|
string GroupID = 1;
|
2021-12-23 17:22:49 +08:00
|
|
|
string OldOwnerUserID = 2;
|
|
|
|
|
string NewOwnerUserID = 3;
|
2021-09-06 17:48:14 +08:00
|
|
|
string OperationID = 4;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 5; //app manager or group owner
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message TransferGroupOwnerResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message JoinGroupReq{
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
string ReqMessage = 2;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 3;
|
2021-09-06 17:48:14 +08:00
|
|
|
string OperationID = 4;
|
2022-07-12 19:24:06 +08:00
|
|
|
int32 JoinSource = 5;
|
|
|
|
|
string InviterUserID = 6;
|
|
|
|
|
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message JoinGroupResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GroupApplicationResponseReq{
|
2021-09-06 17:48:14 +08:00
|
|
|
string OperationID = 1;
|
2021-12-22 11:14:57 +08:00
|
|
|
string OpUserID = 2;
|
2021-09-06 17:48:14 +08:00
|
|
|
string GroupID = 3;
|
2021-12-26 18:47:11 +08:00
|
|
|
string FromUserID = 4; //
|
|
|
|
|
string HandledMsg = 5;
|
|
|
|
|
int32 HandleResult = 6;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message GroupApplicationResponseResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-12-26 18:47:11 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message QuitGroupReq{
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
string OperationID = 2;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 3;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message QuitGroupResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
message GetGroupMemberListReq {
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 2; //No verification permission
|
2021-12-23 17:22:49 +08:00
|
|
|
string OperationID = 3;
|
|
|
|
|
int32 Filter = 4;
|
|
|
|
|
int32 NextSeq = 5;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMemberListResp {
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupMemberFullInfo memberList = 3;
|
2021-09-06 17:48:14 +08:00
|
|
|
int32 nextSeq = 4;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message GetGroupMembersInfoReq {
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
2021-09-06 17:48:14 +08:00
|
|
|
repeated string memberList = 2;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 3; //No verification permission
|
2021-12-23 17:22:49 +08:00
|
|
|
string OperationID = 4;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupMembersInfoResp {
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupMemberFullInfo memberList = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message KickGroupMemberReq {
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
repeated string KickedUserIDList = 2;
|
|
|
|
|
string Reason = 3;
|
|
|
|
|
string OperationID = 5;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 6; //app manger or group manager
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message Id2Result {
|
2021-12-23 17:22:49 +08:00
|
|
|
string UserID = 1;
|
|
|
|
|
int32 Result = 2; //0 ok; -1 error
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message KickGroupMemberResp {
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2021-12-23 17:22:49 +08:00
|
|
|
repeated Id2Result Id2ResultList = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message GetJoinedGroupListReq {
|
|
|
|
|
string FromUserID = 1;
|
2021-09-06 17:48:14 +08:00
|
|
|
string operationID = 2;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 3; //app manager or FromUserID
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-23 17:22:49 +08:00
|
|
|
message GetJoinedGroupListResp{
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
2021-12-23 17:22:49 +08:00
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupInfo GroupList = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message InviteUserToGroupReq {
|
|
|
|
|
string OperationID = 2;
|
|
|
|
|
string GroupID = 3;
|
|
|
|
|
string Reason = 4;
|
|
|
|
|
repeated string InvitedUserIDList = 5;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 6; //group member or app manager
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-23 17:22:49 +08:00
|
|
|
message InviteUserToGroupResp {
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2021-12-23 17:22:49 +08:00
|
|
|
repeated Id2Result Id2ResultList = 3; // 0 ok, -1 error
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupAllMemberReq {
|
2021-12-23 17:22:49 +08:00
|
|
|
string GroupID = 1;
|
2021-12-23 18:29:39 +08:00
|
|
|
string OpUserID = 2; //No verification permission
|
2021-12-23 17:22:49 +08:00
|
|
|
string OperationID = 3;
|
2022-08-04 14:04:29 +08:00
|
|
|
int32 Offset = 4;
|
|
|
|
|
int32 Count = 5;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
message GetGroupAllMemberResp {
|
2021-12-22 15:24:49 +08:00
|
|
|
int32 ErrCode = 1;
|
|
|
|
|
string ErrMsg = 2;
|
2022-01-15 15:25:12 +08:00
|
|
|
repeated server_api_params.GroupMemberFullInfo memberList = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
2022-02-07 19:42:09 +08:00
|
|
|
message CMSGroup {
|
|
|
|
|
server_api_params.GroupInfo GroupInfo = 1;
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupOwnerUserName = 2;
|
|
|
|
|
string GroupOwnerUserID = 3;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-25 19:18:04 +08:00
|
|
|
message GetGroupReq {
|
|
|
|
|
string GroupName = 1;
|
2022-01-26 18:43:01 +08:00
|
|
|
server_api_params.RequestPagination Pagination = 2;
|
|
|
|
|
string OperationID = 3;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupResp {
|
2022-02-07 19:42:09 +08:00
|
|
|
repeated CMSGroup CMSGroups = 1;
|
2022-01-27 01:08:02 +08:00
|
|
|
server_api_params.RequestPagination Pagination = 2;
|
2022-02-08 20:24:59 +08:00
|
|
|
int32 GroupNums = 3;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupsReq {
|
2022-01-27 01:08:02 +08:00
|
|
|
server_api_params.RequestPagination Pagination = 1;
|
2022-01-25 19:18:04 +08:00
|
|
|
string OperationID = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupsResp {
|
2022-02-07 19:42:09 +08:00
|
|
|
repeated CMSGroup CMSGroups = 1;
|
2022-01-27 01:08:02 +08:00
|
|
|
server_api_params.RequestPagination Pagination = 2;
|
|
|
|
|
int32 GroupNum = 3;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMemberReq {
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupID = 1;
|
2022-01-25 19:18:04 +08:00
|
|
|
string OperationID = 2;
|
|
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
message OperateUserRoleReq {
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
string UserID = 2;
|
2022-01-27 18:31:31 +08:00
|
|
|
int32 RoleLevel = 3;
|
|
|
|
|
string OperationID = 4;
|
2022-01-26 00:37:28 +08:00
|
|
|
}
|
|
|
|
|
|
2022-01-27 18:31:31 +08:00
|
|
|
message OperateUserRoleResp {
|
2022-01-26 00:37:28 +08:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-11 16:48:03 +08:00
|
|
|
message GetGroupByIDReq {
|
|
|
|
|
string GroupID = 1;
|
2022-01-27 18:31:31 +08:00
|
|
|
string OperationID = 2;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-11 16:48:03 +08:00
|
|
|
message GetGroupByIDResp {
|
2022-02-07 19:42:09 +08:00
|
|
|
CMSGroup CMSGroup = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMembersCMSReq {
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupID = 1;
|
2022-02-08 20:24:59 +08:00
|
|
|
string UserName = 2;
|
|
|
|
|
server_api_params.RequestPagination Pagination = 3;
|
|
|
|
|
string OperationID = 4;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMembersCMSResp {
|
2022-02-08 20:24:59 +08:00
|
|
|
repeated server_api_params.GroupMemberFullInfo members = 1;
|
|
|
|
|
server_api_params.ResponsePagination Pagination = 2;
|
|
|
|
|
int32 MemberNums = 3;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message RemoveGroupMembersCMSReq {
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
repeated string UserIDList = 2;
|
2022-02-07 19:42:09 +08:00
|
|
|
string OperationID = 3;
|
2022-08-11 16:48:03 +08:00
|
|
|
string OpUserID = 4;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message RemoveGroupMembersCMSResp {
|
|
|
|
|
repeated string success = 1;
|
|
|
|
|
repeated string failed = 2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message AddGroupMembersCMSReq {
|
2022-08-11 16:48:03 +08:00
|
|
|
string GroupID = 1;
|
|
|
|
|
repeated string UserIDList = 2;
|
|
|
|
|
string OperationID = 3;
|
|
|
|
|
string OpUserID = 4;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message AddGroupMembersCMSResp {
|
|
|
|
|
repeated string success = 1;
|
|
|
|
|
repeated string failed = 2;
|
2022-01-27 18:31:31 +08:00
|
|
|
}
|
|
|
|
|
|
2022-03-24 15:33:30 +08:00
|
|
|
message DismissGroupReq{
|
2022-03-28 19:27:05 +08:00
|
|
|
string opUserID = 1; //group or app manager
|
2022-03-24 15:33:30 +08:00
|
|
|
string operationID = 2;
|
|
|
|
|
string groupID = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message DismissGroupResp{
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
}
|
2022-02-08 20:24:59 +08:00
|
|
|
|
2022-03-28 19:27:05 +08:00
|
|
|
|
|
|
|
|
message MuteGroupMemberReq{
|
|
|
|
|
string opUserID = 1; //group or app manager
|
|
|
|
|
string operationID = 2;
|
|
|
|
|
string groupID = 3;
|
|
|
|
|
string userID = 4;
|
|
|
|
|
uint32 mutedSeconds = 5;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message MuteGroupMemberResp{
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupMemberReq{
|
|
|
|
|
string opUserID = 1; //group or app manager
|
|
|
|
|
string operationID = 2;
|
|
|
|
|
string groupID = 3;
|
|
|
|
|
string userID = 4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupMemberResp{
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message MuteGroupReq{
|
|
|
|
|
string opUserID = 1; //group or app manager
|
|
|
|
|
string operationID = 2;
|
|
|
|
|
string groupID = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message MuteGroupResp{
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupReq{
|
|
|
|
|
string opUserID = 1; //group or app manager
|
|
|
|
|
string operationID = 2;
|
|
|
|
|
string groupID = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupResp{
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-18 11:52:17 +08:00
|
|
|
message SetGroupMemberNicknameReq{
|
|
|
|
|
string groupID = 1;
|
|
|
|
|
string nickname = 2;
|
|
|
|
|
string opUserID = 3;
|
|
|
|
|
string operationID = 4;
|
|
|
|
|
string userID = 5;
|
|
|
|
|
}
|
|
|
|
|
message SetGroupMemberNicknameResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-30 11:55:27 +08:00
|
|
|
message GetJoinedSuperGroupListReq {
|
|
|
|
|
string operationID = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
string opUserID = 3;
|
|
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2022-05-30 11:55:27 +08:00
|
|
|
message GetJoinedSuperGroupListResp {
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
repeated server_api_params.GroupInfo GroupList = 3;
|
|
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2022-05-30 16:23:15 +08:00
|
|
|
message GetSuperGroupsInfoReq {
|
|
|
|
|
repeated string GroupIDList = 1;
|
|
|
|
|
string OperationID = 2;
|
|
|
|
|
string OpUserID = 3; //No verification permission
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetSuperGroupsInfoResp {
|
|
|
|
|
CommonResp commonResp = 1;
|
|
|
|
|
repeated server_api_params.GroupInfo GroupInfoList = 3;
|
|
|
|
|
}
|
2022-03-28 19:27:05 +08:00
|
|
|
|
2022-06-02 18:17:11 +08:00
|
|
|
message SetGroupMemberInfoReq{
|
|
|
|
|
string groupID = 1;
|
|
|
|
|
string userID = 2;
|
2022-06-07 16:18:18 +08:00
|
|
|
string opUserID = 3;
|
|
|
|
|
string operationID = 4;
|
|
|
|
|
google.protobuf.StringValue nickname = 5;
|
|
|
|
|
google.protobuf.StringValue faceURL = 6;
|
|
|
|
|
google.protobuf.Int32Value roleLevel = 7;
|
|
|
|
|
google.protobuf.StringValue ex = 8;
|
2022-06-02 18:17:11 +08:00
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2022-06-02 18:17:11 +08:00
|
|
|
message SetGroupMemberInfoResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
}
|
2022-03-28 19:27:05 +08:00
|
|
|
|
2022-08-05 13:40:20 +08:00
|
|
|
message GetGroupAbstractInfoReq{
|
|
|
|
|
string groupID = 1;
|
|
|
|
|
string opUserID = 2;
|
|
|
|
|
string operationID = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupAbstractInfoResp{
|
|
|
|
|
CommonResp CommonResp = 1;
|
|
|
|
|
int32 groupMemberNumber = 2;
|
|
|
|
|
uint64 groupMemberListHash = 3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
service group{
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc createGroup(CreateGroupReq) returns(CreateGroupResp);
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc joinGroup(JoinGroupReq) returns(JoinGroupResp);
|
|
|
|
|
rpc quitGroup(QuitGroupReq) returns(QuitGroupResp);
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupsInfo(GetGroupsInfoReq) returns(GetGroupsInfoResp);
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc setGroupInfo(SetGroupInfoReq) returns(SetGroupInfoResp);
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupApplicationList(GetGroupApplicationListReq) returns(GetGroupApplicationListResp);
|
2022-02-09 19:20:46 +08:00
|
|
|
rpc getUserReqApplicationList(GetUserReqApplicationListReq) returns(GetUserReqApplicationListResp);
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc transferGroupOwner(TransferGroupOwnerReq) returns(TransferGroupOwnerResp);
|
|
|
|
|
rpc groupApplicationResponse(GroupApplicationResponseReq) returns(GroupApplicationResponseResp);
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupMemberList(GetGroupMemberListReq) returns(GetGroupMemberListResp);
|
|
|
|
|
rpc getGroupMembersInfo(GetGroupMembersInfoReq) returns(GetGroupMembersInfoResp);
|
|
|
|
|
rpc kickGroupMember(KickGroupMemberReq) returns (KickGroupMemberResp);
|
2021-12-23 17:22:49 +08:00
|
|
|
rpc getJoinedGroupList(GetJoinedGroupListReq) returns (GetJoinedGroupListResp);
|
|
|
|
|
rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp);
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupAllMember(GetGroupAllMemberReq) returns(GetGroupAllMemberResp);
|
2022-01-25 19:18:04 +08:00
|
|
|
|
2022-08-11 19:47:59 +08:00
|
|
|
rpc GetGroupByID(GetGroupByIDReq) returns(GetGroupByIDResp);
|
2022-01-26 18:43:01 +08:00
|
|
|
rpc GetGroup(GetGroupReq) returns(GetGroupResp);
|
2022-01-25 19:18:04 +08:00
|
|
|
rpc GetGroups(GetGroupsReq) returns(GetGroupsResp);
|
2022-01-27 18:31:31 +08:00
|
|
|
rpc OperateUserRole(OperateUserRoleReq) returns(OperateUserRoleResp);
|
2022-02-07 19:42:09 +08:00
|
|
|
rpc GetGroupMembersCMS(GetGroupMembersCMSReq) returns(GetGroupMembersCMSResp);
|
|
|
|
|
rpc RemoveGroupMembersCMS(RemoveGroupMembersCMSReq) returns(RemoveGroupMembersCMSResp);
|
|
|
|
|
rpc AddGroupMembersCMS(AddGroupMembersCMSReq) returns(AddGroupMembersCMSResp);
|
2022-03-24 15:33:30 +08:00
|
|
|
|
|
|
|
|
rpc DismissGroup(DismissGroupReq) returns(DismissGroupResp);
|
2022-03-28 19:27:05 +08:00
|
|
|
rpc MuteGroupMember(MuteGroupMemberReq) returns(MuteGroupMemberResp);
|
|
|
|
|
rpc CancelMuteGroupMember(CancelMuteGroupMemberReq) returns(CancelMuteGroupMemberResp);
|
|
|
|
|
rpc MuteGroup(MuteGroupReq) returns(MuteGroupResp);
|
|
|
|
|
rpc CancelMuteGroup(CancelMuteGroupReq) returns(CancelMuteGroupResp);
|
2022-04-18 11:52:17 +08:00
|
|
|
|
|
|
|
|
rpc SetGroupMemberNickname(SetGroupMemberNicknameReq) returns (SetGroupMemberNicknameResp);
|
|
|
|
|
|
2022-05-30 11:55:27 +08:00
|
|
|
rpc GetJoinedSuperGroupList(GetJoinedSuperGroupListReq) returns (GetJoinedSuperGroupListResp);
|
2022-05-30 16:23:15 +08:00
|
|
|
rpc GetSuperGroupsInfo(GetSuperGroupsInfoReq) returns (GetSuperGroupsInfoResp);
|
2022-06-02 18:17:11 +08:00
|
|
|
rpc SetGroupMemberInfo(SetGroupMemberInfoReq) returns (SetGroupMemberInfoResp);
|
2022-08-05 13:40:20 +08:00
|
|
|
rpc GetGroupAbstractInfo(GetGroupAbstractInfoReq) returns (GetGroupAbstractInfoResp);
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|