Add GetTeamsUnreadForUser to plugin api (#9659)
* Add GetTeamsUnreadForUser to plugin api * Remove teamIdToExclude from plugin method GetTeamsUnreadForUser * Add minimum server version to plugin API doc of GetTeamsUnreadForUser
Этот коммит содержится в:
коммит произвёл
Hanzei
родитель
ecade2f1ec
Коммит
6d4421d18a
@@ -106,6 +106,11 @@ type API interface {
|
||||
// GetTeamByName gets a team by its name.
|
||||
GetTeamByName(name string) (*model.Team, *model.AppError)
|
||||
|
||||
// GetTeamsUnreadForUser gets the unread message and mention counts for each team to which the given user belongs.
|
||||
//
|
||||
// Minimum server version: 5.6
|
||||
GetTeamsUnreadForUser(userId string) ([]*model.TeamUnread, *model.AppError)
|
||||
|
||||
// UpdateTeam updates a team.
|
||||
UpdateTeam(team *model.Team) (*model.Team, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user