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 b85160940..80364c2af 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -140,6 +140,9 @@ type API interface { // GetChannelMember gets a channel membership for a user. GetChannelMember(channelId, userId string) (*model.ChannelMember, *model.AppError) + // GetChannelMembers gets a channel membership for all users. + GetChannelMembers(channelId string, page, perPage int) (*model.ChannelMembers, *model.AppError) + // UpdateChannelMemberRoles updates a user's roles for a channel. UpdateChannelMemberRoles(channelId, userId, newRoles string) (*model.ChannelMember, *model.AppError) |