PinnedMessagesPagination

Pagination options for getting pinned messages.

Inheritors

Types

Link copied to clipboard
data class AfterDate(val date: Date, val inclusive: Boolean) : PinnedMessagesPagination

Returns messages after the date.

Link copied to clipboard
data class AfterMessage(val messageId: String, val inclusive: Boolean) : PinnedMessagesPagination

Returns messages after the message with given id.

Link copied to clipboard
data class AroundDate(val date: Date) : PinnedMessagesPagination

Returns messages around the date.

Link copied to clipboard
data class AroundMessage(val messageId: String) : PinnedMessagesPagination

Returns messages around the message with given id.

Link copied to clipboard
data class BeforeDate(val date: Date, val inclusive: Boolean) : PinnedMessagesPagination

Returns messages before the date.

Link copied to clipboard
data class BeforeMessage(val messageId: String, val inclusive: Boolean) : PinnedMessagesPagination

Returns messages before the message with given id.