Pagination that is sent to a text channel.
Optional
data: PaginationDataData from which to build channel pagination.
Action that will be completed after the pagination was sent.
The buttons of this pagination. By default is an empty array.
Collector that collects button interactions.
Options for collecting button interactions.
Current page number. Zero-based. By default is zero.
Embeds of this pagination. By default is an empty array.
Options for filtering button interactions. By default singleUserAccess and noAccessReply are true. And noAccessReplyContent is "You're disallowed to use this very pagination!".
Indicates whether this pagination sent or not. By default is false.
Options for sending out message.
How long the pagination will exist (in milliseconds). By default is zero.
Protected
_collectedProtected
_formForms collector.
Interaction Collector.
Message that collector should stick to.
Optional
user: UserUsed only if singleUserAccess is true. Needed only if only one user should be able to use pagination.
Protected
_getGets array of action rows for the page with specified number.
Array of action rows.
Number of page.
Protected
_setProtected
_setSets collector of the pagination.
Collector that collects button interactions.
Collector that collects button interactions.
Protected
_setProtected
_setProtected
_stopMethod that handles stop
event.
Updates pagination.
Reason of collector's stop event.
Message that was sent or Interaction that was replied.
Button's customId. Should be a string.
Inserts embeds.
Pagination.
Embed(-s) that is/are meant to be inserted.
Optional
index: numberZero-based location in the array there the embed(-s) should be inserted.
Removes embed(-s) by it's/theirs index(-es) in the array of embeds.
Pagination.
Zero-based location in the array from which to start removing embeds.
Quantity of embeds to remove.
Sends pagination to the specified channel.
Sends pagination.
Channel where the pagination should be sent.
Optional
user: UserNeeded only if one user should be able to use pagination.
Sets action that will be completed after the pagination was sent.
Pagination.
Action that will be completed.
Sets button(-s). Overrides current button(-s).
Pagination.
Button(-s) that is/are meant to be set.
Sets collector options. Overrides current options.
Pagination.
Options for collecting button interactions.
Sets embed(-s). Overrides current embed(-s).
Pagination.
Embed(-s) that is/are meant to be set.
Sets filter options. Overrides current options.
Pagination.
Options for filtering out button interactions.
Sets options for sending out message.
Pagination.
Options for sending out message.
Sets action that will be completed after the pagination was stopped.
Pagination.
Action that will be completed.
Sets pagination active phase duration.
Pagination.
Time in milliseconds.
Optional
bypassLibraryLimits: booleanShould the time bypass library limit or not.
Generated using TypeDoc
Pagination that is sent to a text channel.