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 4bcfd112b..fee55eeff 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -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) |