2021-05-26 20:06:02 +08:00
|
|
|
syntax = "proto3";
|
2023-03-17 17:26:58 +08:00
|
|
|
package OpenIMServer.group;
|
2023-03-16 10:46:06 +08:00
|
|
|
import "sdkws/sdkws.proto";
|
|
|
|
|
import "wrapperspb/wrapperspb.proto";
|
|
|
|
|
option go_package = "github.com/OpenIMSDK/Open-IM-Server/pkg/proto/group";
|
2021-05-26 20:06:02 +08:00
|
|
|
|
|
|
|
|
|
2021-12-21 21:40:50 +08:00
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message CreateGroupReq{
|
2023-05-31 15:54:42 +08:00
|
|
|
repeated string memberUserIDs = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.GroupInfo groupInfo = 2;
|
2023-01-13 20:58:06 +08:00
|
|
|
repeated string adminUserIDs = 3;
|
2023-01-29 18:24:46 +08:00
|
|
|
string ownerUserID = 4; //owner
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
message CreateGroupResp{
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.GroupInfo groupInfo = 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 GetGroupsInfoReq{
|
2023-01-30 10:40:27 +08:00
|
|
|
repeated string groupIDs = 1;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupsInfoResp{
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupInfo groupInfos = 1;
|
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{
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.GroupInfoForSet groupInfoForSet = 1;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message SetGroupInfoResp{
|
|
|
|
|
}
|
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 {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-01-29 18:24:46 +08:00
|
|
|
string fromUserID = 2; //owner or admin
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupApplicationListResp {
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupRequest groupRequests = 2;
|
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{
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
string userID = 2;
|
2022-02-09 19:20:46 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetUserReqApplicationListResp{
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupRequest groupRequests = 2;
|
2022-02-09 19:20:46 +08:00
|
|
|
}
|
|
|
|
|
|
2021-12-26 18:47:11 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message TransferGroupOwnerReq {
|
2023-01-05 17:09:35 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string oldOwnerUserID = 2;
|
|
|
|
|
string newOwnerUserID = 3;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message TransferGroupOwnerResp{
|
2023-01-12 19:55:51 +08:00
|
|
|
|
2021-12-26 18:47:11 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message JoinGroupReq{
|
2023-01-05 17:09:35 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string reqMessage = 2;
|
2023-01-29 18:24:46 +08:00
|
|
|
int32 joinSource = 3;
|
|
|
|
|
string inviterUserID = 4;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message JoinGroupResp{
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GroupApplicationResponseReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string fromUserID = 2; //
|
|
|
|
|
string handledMsg = 3;
|
|
|
|
|
int32 handleResult = 4;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message GroupApplicationResponseResp{
|
2023-01-12 19:55:51 +08:00
|
|
|
|
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{
|
2023-01-05 17:09:35 +08:00
|
|
|
string groupID = 1;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
2021-12-26 18:47:11 +08:00
|
|
|
message QuitGroupResp{
|
|
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
|
|
|
|
|
message GetGroupMemberListReq {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
string groupID = 2;
|
|
|
|
|
int32 filter = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMemberListResp {
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupMemberFullInfo members = 2;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message GetGroupMembersInfoReq {
|
2023-01-05 17:09:35 +08:00
|
|
|
string groupID = 1;
|
2023-04-07 12:07:54 +08:00
|
|
|
repeated string userIDs = 2;
|
2021-05-26 20:06:02 +08:00
|
|
|
}
|
|
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
message GetGroupMembersInfoResp {
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupMemberFullInfo members = 1;
|
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 {
|
2023-01-05 17:09:35 +08:00
|
|
|
string groupID = 1;
|
2023-01-31 15:35:11 +08:00
|
|
|
repeated string kickedUserIDs = 2;
|
2023-01-05 17:09:35 +08:00
|
|
|
string reason = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message KickGroupMemberResp {
|
2023-01-29 16:33:11 +08:00
|
|
|
|
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 {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
string fromUserID = 2;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-23 17:22:49 +08:00
|
|
|
message GetJoinedGroupListResp{
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupInfo groups = 2;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2021-12-23 17:22:49 +08:00
|
|
|
message InviteUserToGroupReq {
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string reason = 2;
|
2023-01-30 10:40:27 +08:00
|
|
|
repeated string invitedUserIDs = 3;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-12-23 17:22:49 +08:00
|
|
|
message InviteUserToGroupResp {
|
2023-01-29 16:33:11 +08:00
|
|
|
|
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 {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
string groupID = 2;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
message GetGroupAllMemberResp {
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupMemberFullInfo members = 1;
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
|
|
|
|
|
2022-02-07 19:42:09 +08:00
|
|
|
message CMSGroup {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.GroupInfo groupInfo = 1;
|
2023-02-09 10:03:41 +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 GetGroupsReq {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-01-13 16:56:46 +08:00
|
|
|
string groupName = 2;
|
|
|
|
|
string groupID = 3;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupsResp {
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
|
|
|
|
repeated CMSGroup groups = 2;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMemberReq {
|
2023-02-09 10:03:41 +08:00
|
|
|
string groupID = 1;
|
2022-01-25 19:18:04 +08:00
|
|
|
}
|
2021-06-28 15:33:26 +08:00
|
|
|
|
2022-02-07 19:42:09 +08:00
|
|
|
message GetGroupMembersCMSReq {
|
2023-02-09 20:36:34 +08:00
|
|
|
sdkws.RequestPagination pagination = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
string groupID = 2;
|
|
|
|
|
string userName = 3;
|
2022-02-07 19:42:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetGroupMembersCMSResp {
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 total = 1;
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupMemberFullInfo members = 2;
|
2022-01-27 18:31:31 +08:00
|
|
|
}
|
|
|
|
|
|
2022-03-24 15:33:30 +08:00
|
|
|
message DismissGroupReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
2023-05-19 19:59:39 +08:00
|
|
|
bool deleteMember = 2;
|
2022-03-24 15:33:30 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message DismissGroupResp{
|
|
|
|
|
}
|
2022-02-08 20:24:59 +08:00
|
|
|
|
2022-03-28 19:27:05 +08:00
|
|
|
|
|
|
|
|
message MuteGroupMemberReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string userID = 2;
|
|
|
|
|
uint32 mutedSeconds = 3;
|
2022-03-28 19:27:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message MuteGroupMemberResp{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupMemberReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string userID = 2;
|
2022-03-28 19:27:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupMemberResp{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message MuteGroupReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
2022-03-28 19:27:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message MuteGroupResp{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupReq{
|
2023-01-29 18:24:46 +08:00
|
|
|
string groupID = 1;
|
2022-03-28 19:27:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message CancelMuteGroupResp{
|
|
|
|
|
}
|
|
|
|
|
|
2022-05-30 11:55:27 +08:00
|
|
|
message GetJoinedSuperGroupListReq {
|
2023-02-09 10:03:41 +08:00
|
|
|
string userID = 1;
|
2022-05-30 11:55:27 +08:00
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2022-05-30 11:55:27 +08:00
|
|
|
message GetJoinedSuperGroupListResp {
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupInfo groups = 1;
|
2022-05-30 11:55:27 +08:00
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2022-05-30 16:23:15 +08:00
|
|
|
message GetSuperGroupsInfoReq {
|
2023-01-30 10:40:27 +08:00
|
|
|
repeated string groupIDs = 1;
|
2022-05-30 16:23:15 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message GetSuperGroupsInfoResp {
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupInfo groupInfos = 1;
|
2022-05-30 16:23:15 +08:00
|
|
|
}
|
2022-03-28 19:27:05 +08:00
|
|
|
|
2023-02-09 19:40:45 +08:00
|
|
|
message SetGroupMemberInfo{
|
2022-06-02 18:17:11 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
string userID = 2;
|
2023-03-09 14:41:57 +08:00
|
|
|
OpenIMServer.protobuf.StringValue nickname = 3;
|
|
|
|
|
OpenIMServer.protobuf.StringValue faceURL = 4;
|
|
|
|
|
OpenIMServer.protobuf.Int32Value roleLevel = 5;
|
|
|
|
|
OpenIMServer.protobuf.StringValue ex = 6;
|
2022-06-02 18:17:11 +08:00
|
|
|
}
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2023-02-09 19:40:45 +08:00
|
|
|
message SetGroupMemberInfoReq{
|
|
|
|
|
repeated SetGroupMemberInfo members = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2022-06-02 18:17:11 +08:00
|
|
|
message SetGroupMemberInfoResp{
|
2023-01-12 19:55:51 +08:00
|
|
|
|
2022-06-02 18:17:11 +08:00
|
|
|
}
|
2022-03-28 19:27:05 +08:00
|
|
|
|
2022-08-05 13:40:20 +08:00
|
|
|
message GetGroupAbstractInfoReq{
|
2023-02-09 10:03:41 +08:00
|
|
|
repeated string groupIDs = 1;
|
2022-08-05 13:40:20 +08:00
|
|
|
}
|
|
|
|
|
|
2023-01-13 16:56:46 +08:00
|
|
|
message GroupAbstractInfo{
|
|
|
|
|
string groupID = 1;
|
2023-02-09 10:03:41 +08:00
|
|
|
uint32 groupMemberNumber = 2;
|
2022-08-05 13:40:20 +08:00
|
|
|
uint64 groupMemberListHash = 3;
|
|
|
|
|
}
|
|
|
|
|
|
2023-01-13 16:56:46 +08:00
|
|
|
message GetGroupAbstractInfoResp{
|
|
|
|
|
repeated GroupAbstractInfo groupAbstractInfos = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-09 16:33:40 +08:00
|
|
|
message GetUserInGroupMembersReq {
|
2023-01-30 10:40:27 +08:00
|
|
|
string userID = 1;
|
|
|
|
|
repeated string groupIDs = 2;
|
|
|
|
|
}
|
2023-02-09 20:39:12 +08:00
|
|
|
|
2023-02-14 10:33:15 +08:00
|
|
|
message GetUserInGroupMembersResp{
|
2023-02-09 20:36:34 +08:00
|
|
|
repeated sdkws.GroupMemberFullInfo members = 1;
|
2023-01-30 10:40:27 +08:00
|
|
|
}
|
2022-08-05 13:40:20 +08:00
|
|
|
|
2023-03-03 18:44:14 +08:00
|
|
|
message GetGroupMemberUserIDsReq{
|
2023-02-09 16:33:40 +08:00
|
|
|
string groupID = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2023-03-03 18:44:14 +08:00
|
|
|
message GetGroupMemberUserIDsResp{
|
2023-02-09 16:33:40 +08:00
|
|
|
repeated string userIDs = 1;
|
|
|
|
|
}
|
|
|
|
|
|
2023-02-14 10:33:15 +08:00
|
|
|
message GetGroupMemberRoleLevelReq{
|
|
|
|
|
string groupID = 1;
|
|
|
|
|
repeated int32 roleLevels = 2;
|
|
|
|
|
}
|
2023-02-09 16:33:40 +08:00
|
|
|
|
2023-02-14 10:33:15 +08:00
|
|
|
message GetGroupMemberRoleLevelResp {
|
|
|
|
|
repeated sdkws.GroupMemberFullInfo members = 1;
|
|
|
|
|
}
|
2023-02-09 16:33:40 +08:00
|
|
|
|
2021-06-28 15:33:26 +08:00
|
|
|
service group{
|
2023-01-13 16:56:46 +08:00
|
|
|
//创建群
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc createGroup(CreateGroupReq) returns(CreateGroupResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//申请加群
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc joinGroup(JoinGroupReq) returns(JoinGroupResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//退出群
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc quitGroup(QuitGroupReq) returns(QuitGroupResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取指定群信息
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupsInfo(GetGroupsInfoReq) returns(GetGroupsInfoResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//设置群信息
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc setGroupInfo(SetGroupInfoReq) returns(SetGroupInfoResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//(以管理员或群主身份)获取群的加群申请
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupApplicationList(GetGroupApplicationListReq) returns(GetGroupApplicationListResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取用户自己的主动加群申请
|
2022-02-09 19:20:46 +08:00
|
|
|
rpc getUserReqApplicationList(GetUserReqApplicationListReq) returns(GetUserReqApplicationListResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//转让群主
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc transferGroupOwner(TransferGroupOwnerReq) returns(TransferGroupOwnerResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//群主或管理员处理进群申请
|
2021-12-26 18:47:11 +08:00
|
|
|
rpc groupApplicationResponse(GroupApplicationResponseReq) returns(GroupApplicationResponseResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取某个群的群成员
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupMemberList(GetGroupMemberListReq) returns(GetGroupMemberListResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取某个群的指定群成员
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc getGroupMembersInfo(GetGroupMembersInfoReq) returns(GetGroupMembersInfoResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//踢出群
|
2021-09-06 17:48:14 +08:00
|
|
|
rpc kickGroupMember(KickGroupMemberReq) returns (KickGroupMemberResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取某个人已加入群
|
2021-12-23 17:22:49 +08:00
|
|
|
rpc getJoinedGroupList(GetJoinedGroupListReq) returns (GetJoinedGroupListResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//邀请某些人进群
|
2021-12-23 17:22:49 +08:00
|
|
|
rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp);
|
2022-01-25 19:18:04 +08:00
|
|
|
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc getGroups(GetGroupsReq) returns(GetGroupsResp);
|
|
|
|
|
rpc getGroupMembersCMS(GetGroupMembersCMSReq) returns(GetGroupMembersCMSResp);
|
2022-08-30 01:38:23 +08:00
|
|
|
|
2023-01-13 16:56:46 +08:00
|
|
|
//解散群
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc dismissGroup(DismissGroupReq) returns(DismissGroupResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//对某个群成员禁言
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc muteGroupMember(MuteGroupMemberReq) returns(MuteGroupMemberResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//对某个群成员取消禁言
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc cancelMuteGroupMember(CancelMuteGroupMemberReq) returns(CancelMuteGroupMemberResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//对某个群禁言
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc muteGroup(MuteGroupReq) returns(MuteGroupResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//对某个群取消禁言
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc cancelMuteGroup(CancelMuteGroupReq) returns(CancelMuteGroupResp);
|
2022-04-18 11:52:17 +08:00
|
|
|
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取某个用户加入的超级群
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc getJoinedSuperGroupList(GetJoinedSuperGroupListReq) returns (GetJoinedSuperGroupListResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取指定的超级群信息
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc getSuperGroupsInfo(GetSuperGroupsInfoReq) returns (GetSuperGroupsInfoResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//设置群成员昵称
|
|
|
|
|
//设置群成员信息
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc setGroupMemberInfo(SetGroupMemberInfoReq) returns (SetGroupMemberInfoResp);
|
2023-01-13 16:56:46 +08:00
|
|
|
//获取群信息hash值
|
2023-01-30 10:40:27 +08:00
|
|
|
rpc getGroupAbstractInfo(GetGroupAbstractInfoReq) returns (GetGroupAbstractInfoResp);
|
|
|
|
|
//获取某个用户在指定群中的信息
|
2023-02-09 16:33:40 +08:00
|
|
|
rpc getUserInGroupMembers(GetUserInGroupMembersReq) returns (GetUserInGroupMembersResp);
|
|
|
|
|
//获取群成员用户ID
|
2023-03-03 18:44:14 +08:00
|
|
|
rpc getGroupMemberUserIDs(GetGroupMemberUserIDsReq) returns (GetGroupMemberUserIDsResp);
|
2023-02-14 10:33:15 +08:00
|
|
|
//查询群组中对应级别的成员
|
|
|
|
|
rpc GetGroupMemberRoleLevel(GetGroupMemberRoleLevelReq)returns (GetGroupMemberRoleLevelResp);
|
2021-06-28 15:33:26 +08:00
|
|
|
}
|
2021-05-26 20:06:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|