Add GetChannelMember method to plugin API (#7930)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
46f51197fb
Коммит
7a1f81cd52
@@ -70,6 +70,9 @@ type API interface {
|
||||
// UpdateChannel updates a channel.
|
||||
UpdateChannel(channel *model.Channel) (*model.Channel, *model.AppError)
|
||||
|
||||
// GetChannelMember gets a channel membership for a user.
|
||||
GetChannelMember(channelId, userId string) (*model.ChannelMember, *model.AppError)
|
||||
|
||||
// CreatePost creates a post.
|
||||
CreatePost(post *model.Post) (*model.Post, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user