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 5a5727659..36012c23e 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -170,6 +170,9 @@ type API interface { // DeletePost deletes a post. DeletePost(postId string) *model.AppError + // GetPostThread gets a post with all the other posts in the same thread. + GetPostThread(postId string) (*model.PostList, *model.AppError) + // GetPost gets a post. GetPost(postId string) (*model.Post, *model.AppError) |