Add GetChannelMembers method to plugin API (#9525)
Signed-off-by: Akash Srivastava <akash.srivastava@openebs.io>
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
8c03e584c1
Коммит
8de9a61f7f
@@ -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)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user