Add GetPostsBefore() to plugin API (#9651)
Этот коммит содержится в:
коммит произвёл
Carlos Tadeu Panato Junior
родитель
a35a9b9b2d
Коммит
71b7b9f090
@@ -188,6 +188,9 @@ type API interface {
|
||||
// GetPostsSince gets posts created after a specified time as Unix time in milliseconds.
|
||||
GetPostsSince(channelId string, time int64) (*model.PostList, *model.AppError)
|
||||
|
||||
// GetPostsBefore gets a page of posts that were posted before the post provided.
|
||||
GetPostsBefore(channelId, postId string, page, perPage int) (*model.PostList, *model.AppError)
|
||||
|
||||
// GetPostsForChannel gets a list of posts for a channel.
|
||||
GetPostsForChannel(channelId string, page, perPage int) (*model.PostList, *model.AppError)
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user