mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-12 21:16:00 +08:00
callback kickoff
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
package cms_api_struct
|
||||
|
||||
import server_api_params "Open_IM/pkg/proto/sdk_ws"
|
||||
|
||||
type GroupResponse struct {
|
||||
GroupName string `json:"group_name"`
|
||||
GroupID string `json:"group_id"`
|
||||
GroupMasterName string `json:"group_master_name"`
|
||||
GroupMasterId string `json:"group_master_id"`
|
||||
CreateTime string `json:"create_time"`
|
||||
IsBanChat bool `json:"is_ban_chat"`
|
||||
IsBanPrivateChat bool `json:"is_ban_private_chat"`
|
||||
ProfilePhoto string `json:"profile_photo"`
|
||||
GroupOwnerName string `json:"GroupOwnerName"`
|
||||
GroupOwnerID string `json:"GroupOwnerID"`
|
||||
*server_api_params.GroupInfo
|
||||
}
|
||||
|
||||
type GetGroupByIdRequest struct {
|
||||
GroupId string `form:"group_id" binding:"required"`
|
||||
type GetGroupByIDRequest struct {
|
||||
GroupID string `form:"groupID" binding:"required"`
|
||||
}
|
||||
|
||||
type GetGroupByIdResponse struct {
|
||||
type GetGroupByIDResponse struct {
|
||||
GroupResponse
|
||||
}
|
||||
|
||||
|
||||
+280
-281
File diff suppressed because it is too large
Load Diff
+19
-19
@@ -215,8 +215,8 @@ message GetGroupAllMemberResp {
|
||||
|
||||
message CMSGroup {
|
||||
server_api_params.GroupInfo GroupInfo = 1;
|
||||
string GroupMasterName = 2;
|
||||
string GroupMasterId = 3;
|
||||
string GroupOwnerUserName = 2;
|
||||
string GroupOwnerUserID = 3;
|
||||
}
|
||||
|
||||
message GetGroupReq {
|
||||
@@ -243,12 +243,12 @@ message GetGroupsResp {
|
||||
}
|
||||
|
||||
message GetGroupMemberReq {
|
||||
string GroupId = 1;
|
||||
string GroupID = 1;
|
||||
string OperationID = 2;
|
||||
}
|
||||
|
||||
message OperateGroupStatusReq {
|
||||
string GroupId = 1;
|
||||
string GroupID = 1;
|
||||
int32 Status = 2;
|
||||
string OperationID = 3;
|
||||
}
|
||||
@@ -258,8 +258,8 @@ message OperateGroupStatusResp {
|
||||
}
|
||||
|
||||
message OperateUserRoleReq {
|
||||
string GroupId = 1;
|
||||
string UserId = 2;
|
||||
string GroupID = 1;
|
||||
string UserID = 2;
|
||||
int32 RoleLevel = 3;
|
||||
string OperationID = 4;
|
||||
}
|
||||
@@ -269,7 +269,7 @@ message OperateUserRoleResp {
|
||||
}
|
||||
|
||||
message DeleteGroupReq {
|
||||
string GroupId = 1;
|
||||
string GroupID = 1;
|
||||
string OperationID = 2;
|
||||
}
|
||||
|
||||
@@ -277,17 +277,17 @@ message DeleteGroupResp {
|
||||
|
||||
}
|
||||
|
||||
message GetGroupByIdReq {
|
||||
string GroupId = 1;
|
||||
message GetGroupByIDReq {
|
||||
string GroupID = 1;
|
||||
string OperationID = 2;
|
||||
}
|
||||
|
||||
message GetGroupByIdResp {
|
||||
message GetGroupByIDResp {
|
||||
CMSGroup CMSGroup = 1;
|
||||
}
|
||||
|
||||
message GetGroupMembersCMSReq {
|
||||
string GroupId = 1;
|
||||
string GroupID = 1;
|
||||
string UserName = 2;
|
||||
server_api_params.RequestPagination Pagination = 3;
|
||||
string OperationID = 4;
|
||||
@@ -300,10 +300,10 @@ message GetGroupMembersCMSResp {
|
||||
}
|
||||
|
||||
message RemoveGroupMembersCMSReq {
|
||||
string GroupId = 1;
|
||||
repeated string UserIds = 2;
|
||||
string GroupID = 1;
|
||||
repeated string UserIDList = 2;
|
||||
string OperationID = 3;
|
||||
string OpUserId = 4;
|
||||
string OpUserID = 4;
|
||||
}
|
||||
|
||||
message RemoveGroupMembersCMSResp {
|
||||
@@ -312,10 +312,10 @@ message RemoveGroupMembersCMSResp {
|
||||
}
|
||||
|
||||
message AddGroupMembersCMSReq {
|
||||
string GroupId = 1;
|
||||
repeated string UserIds = 2;
|
||||
string OperationId = 3;
|
||||
string OpUserId = 4;
|
||||
string GroupID = 1;
|
||||
repeated string UserIDList = 2;
|
||||
string OperationID = 3;
|
||||
string OpUserID = 4;
|
||||
}
|
||||
|
||||
message AddGroupMembersCMSResp {
|
||||
@@ -463,7 +463,7 @@ service group{
|
||||
rpc inviteUserToGroup(InviteUserToGroupReq) returns (InviteUserToGroupResp);
|
||||
rpc getGroupAllMember(GetGroupAllMemberReq) returns(GetGroupAllMemberResp);
|
||||
|
||||
rpc GetGroupById(GetGroupByIdReq) returns(GetGroupByIdResp);
|
||||
rpc GetGroupById(GetGroupByIDReq) returns(GetGroupByIDResp);
|
||||
rpc GetGroup(GetGroupReq) returns(GetGroupResp);
|
||||
rpc GetGroups(GetGroupsReq) returns(GetGroupsResp);
|
||||
rpc OperateGroupStatus(OperateGroupStatusReq) returns(OperateGroupStatusResp);
|
||||
|
||||
Reference in New Issue
Block a user