From d3460276916aa326051d410e7aeae0ce7fd0c14f Mon Sep 17 00:00:00 2001 From: Hanzei <16541325+hanzei@users.noreply.github.com> Date: Thu, 18 Oct 2018 18:11:15 +0200 Subject: Add GetPostsAfter() to plugin API (#9650) --- plugin/api.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'plugin/api.go') 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 -- cgit v1.2.3-1-g7c22