Этот коммит содержится в:
Jason Mojica
2018-10-15 12:23:46 -04:00
коммит произвёл Christopher Speller
родитель 9385dc750d
Коммит 9da4aba3f2
4 изменённых файлов: 62 добавлений и 0 удалений

Просмотреть файл

@@ -134,6 +134,9 @@ type API interface {
// UpdateChannel updates a channel.
UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
// SearchChannels returns the channels on a team matching the provided search term.
SearchChannels(teamId string, term string) (*model.ChannelList, *model.AppError)
// AddChannelMember creates a channel membership for a user.
AddChannelMember(channelId, userId string) (*model.ChannelMember, *model.AppError)