diff options
Diffstat (limited to 'plugin/api.go')
-rw-r--r-- | plugin/api.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go index 2531bf96a..7034cf3d0 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -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) |