GH-9609: Add GetUsersInTeam in plugin API (#9642)
* add GetUsersInTeam in plugin api * remove extra space in comment
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
9da4aba3f2
Коммит
3087f0bc4c
@@ -52,6 +52,9 @@ type API interface {
|
||||
// GetUserByUsername gets a user by their username.
|
||||
GetUserByUsername(name string) (*model.User, *model.AppError)
|
||||
|
||||
// GetUsersInTeam gets users in team.
|
||||
GetUsersInTeam(teamId string, page int, perPage int) ([]*model.User, *model.AppError)
|
||||
|
||||
// UpdateUser updates a user.
|
||||
UpdateUser(user *model.User) (*model.User, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user