summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
index c2429538d..186e74e44 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -176,6 +176,11 @@ type API interface {
// DeleteChannelMember deletes a channel membership for a user.
DeleteChannelMember(channelId, userId string) *model.AppError
+ // GetUsersInChannel gets users in given channel.
+ //
+ // Minimum server version: 5.6
+ GetUsersInChannel(channelId string, page int, perPage int) ([]*model.User, *model.AppError)
+
// CreatePost creates a post.
CreatePost(post *model.Post) (*model.Post, *model.AppError)