summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
authorHanzei <16541325+hanzei@users.noreply.github.com>2018-10-18 18:11:15 +0200
committerCarlos Tadeu Panato Junior <ctadeu@gmail.com>2018-10-18 18:11:15 +0200
commitd3460276916aa326051d410e7aeae0ce7fd0c14f (patch)
tree82de7c480c8081842a9cc18d11368d8f95752842 /plugin/api.go
parent0d87486e996a9a83f6494dab6e4d4c4c853cb6d6 (diff)
downloadchat-d3460276916aa326051d410e7aeae0ce7fd0c14f.tar.gz
chat-d3460276916aa326051d410e7aeae0ce7fd0c14f.tar.bz2
chat-d3460276916aa326051d410e7aeae0ce7fd0c14f.zip
Add GetPostsAfter() to plugin API (#9650)
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugin/api.go b/plugin/api.go
index a9040199e..fc64c627a 100644
--- a/plugin/api.go
+++ b/plugin/api.go
@@ -225,6 +225,11 @@ type API interface {
// Minimum server version: 5.6
GetPostsSince(channelId string, time int64) (*model.PostList, *model.AppError)
+ // GetPostsAfter gets a page of posts that were posted after the post provided.
+ //
+ // Minimum server version: 5.6
+ GetPostsAfter(channelId, postId string, page, perPage int) (*model.PostList, *model.AppError)
+
// GetPostsBefore gets a page of posts that were posted before the post provided.
//
// Minimum server version: 5.6