mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-02 16:15:59 +08:00
group
This commit is contained in:
@@ -23,6 +23,18 @@ type GetUsersRequest struct {
|
||||
type GetUsersResponse struct {
|
||||
Users []*UserResponse `json:"users"`
|
||||
ResponsePagination
|
||||
UserNums int32 `json:"user_nums"`
|
||||
}
|
||||
|
||||
type GetUsersByNameRequest struct {
|
||||
UserName string `form:"user_name" binding:"required"`
|
||||
RequestPagination
|
||||
}
|
||||
|
||||
type GetUsersByNameResponse struct {
|
||||
Users []*UserResponse `json:"users"`
|
||||
ResponsePagination
|
||||
UserNums int32 `json:"user_nums"`
|
||||
}
|
||||
|
||||
type ResignUserRequest struct {
|
||||
@@ -79,6 +91,7 @@ type GetBlockUsersRequest struct {
|
||||
type GetBlockUsersResponse struct {
|
||||
BlockUsers []BlockUser `json:"block_users"`
|
||||
ResponsePagination
|
||||
UserNums int32 `json:"user_nums"`
|
||||
}
|
||||
|
||||
type GetBlockUserRequest struct {
|
||||
|
||||
Reference in New Issue
Block a user