Add GetPostsAfter() to plugin API (#9650)

Этот коммит содержится в:
Hanzei
2018-10-18 18:11:15 +02:00
коммит произвёл Carlos Tadeu Panato Junior
родитель 0d87486e99
Коммит d346027691
4 изменённых файлов: 66 добавлений и 0 удалений

Просмотреть файл

@@ -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