mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 10:22:36 +08:00
group pb
This commit is contained in:
parent
79d097c903
commit
f952f715c8
@ -1,13 +1,13 @@
|
|||||||
package cms_api_struct
|
package cms_api_struct
|
||||||
|
|
||||||
type GroupResponse struct {
|
type GroupResponse struct {
|
||||||
GroupName string `json:"group_name"`
|
GroupName string `json:"group_name"`
|
||||||
GroupID string `json:"group_id"`
|
GroupID string `json:"group_id"`
|
||||||
GroupMasterName string `json:"group_master_name"`
|
GroupMasterName string `json:"group_master_name"`
|
||||||
GroupMasterId string `json:"group_master_id"`
|
GroupMasterId string `json:"group_master_id"`
|
||||||
CreateTime string `json:"create_time"`
|
CreateTime string `json:"create_time"`
|
||||||
isBanChat bool `json:"is_ban_chat"`
|
IsBanChat bool `json:"is_ban_chat"`
|
||||||
isBanPrivateChat bool `json:"is_ban_private_chat"`
|
IsBanPrivateChat bool `json:"is_ban_private_chat"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetGroupRequest struct {
|
type GetGroupRequest struct {
|
||||||
@ -23,28 +23,26 @@ type GetGroupsRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetGroupsResponse struct {
|
type GetGroupsResponse struct {
|
||||||
Groups []GroupResponse `json:"groups"`
|
Groups []GroupResponse `json:"groups"`
|
||||||
GroupNums int `json:"group_nums"`
|
GroupNums int `json:"group_nums"`
|
||||||
ResponsePagination
|
ResponsePagination
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateGroupRequest struct {
|
type CreateGroupRequest struct {
|
||||||
GroupName string `json:"group_name"`
|
GroupName string `json:"group_name"`
|
||||||
GroupMasterId string `json:"group_master_id"`
|
GroupMasterId string `json:"group_master_id"`
|
||||||
GroupMembers []string `json:"group_members"`
|
GroupMembers []string `json:"group_members"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type CreateGroupResponse struct {
|
type CreateGroupResponse struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type SetGroupMasterRequest struct {
|
type SetGroupMasterRequest struct {
|
||||||
GroupId string `json:"group_id"`
|
GroupId string `json:"group_id"`
|
||||||
UserId string `json:"user_id"`
|
UserId string `json:"user_id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SetGroupMasterResponse struct {
|
type SetGroupMasterResponse struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type BanGroupChatRequest struct {
|
type BanGroupChatRequest struct {
|
||||||
@ -52,16 +50,13 @@ type BanGroupChatRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type BanGroupChatResponse struct {
|
type BanGroupChatResponse struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type BanPrivateChatRequest struct {
|
type BanPrivateChatRequest struct {
|
||||||
GroupId string `json:"group_id"`
|
GroupId string `json:"group_id"`
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type BanPrivateChatResponse struct {
|
type BanPrivateChatResponse struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteGroupRequest struct {
|
type DeleteGroupRequest struct {
|
||||||
@ -69,7 +64,6 @@ type DeleteGroupRequest struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type DeleteGroupResponse struct {
|
type DeleteGroupResponse struct {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetGroupMemberRequest struct {
|
type GetGroupMemberRequest struct {
|
||||||
@ -85,6 +79,6 @@ type GroupMemberResponse struct {
|
|||||||
|
|
||||||
type GetGroupMemberResponse struct {
|
type GetGroupMemberResponse struct {
|
||||||
GroupMemberList []GroupMemberResponse `json:"group_member_list"`
|
GroupMemberList []GroupMemberResponse `json:"group_member_list"`
|
||||||
GroupMemberNums int `json:"group_member_nums"`
|
GroupMemberNums int `json:"group_member_nums"`
|
||||||
ResponsePagination
|
ResponsePagination
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user