AbstractNestedPaginator

Parameters

T

Type of the implementor

Inheritors

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var maxPages: Int
Link copied to clipboard

The Message associated to this paginator

Link copied to clipboard
var page: Int

The page number, after changing this value, you can update the message with the new content from getCurrentMessage.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun cancelTimeout()

Cancels the timeout action for this pagination instance

Link copied to clipboard
suspend fun cleanup()

Cleans up the button IDs used in this paginator

Link copied to clipboard
@JvmName(name = "cleanup")
fun cleanupJava()

Cleans up the button IDs used in this paginator

Link copied to clipboard

Returns the message data that represents the current state of this pagination.

Link copied to clipboard

Returns the message data that represents the initial state of this pagination.

Link copied to clipboard
open fun restartTimeout()

Restarts the timeout of this pagination instance

Link copied to clipboard
fun setSelectedItem(index: Int): T
fun setSelectedItem(itemLabel: String): T

Sets the selected wrapped pagination.