add GetChannelsForTeamForUser to plugin api (#9646)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
3087f0bc4c
Коммит
a35a9b9b2d
@@ -128,6 +128,9 @@ type API interface {
|
||||
// GetChannelByNameForTeamName gets a channel by its name, given a team name.
|
||||
GetChannelByNameForTeamName(teamName, channelName string, includeDeleted bool) (*model.Channel, *model.AppError)
|
||||
|
||||
// GetChannelsForTeamForUser gets a list of channels for given user ID in given team ID.
|
||||
GetChannelsForTeamForUser(teamId, userId string, includeDeleted bool) (*model.ChannelList, *model.AppError)
|
||||
|
||||
// GetDirectChannel gets a direct message channel.
|
||||
GetDirectChannel(userId1, userId2 string) (*model.Channel, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user