ComponentPaginationAbstract constructor Null safety
Creates new paginator using interactions
The *Label
and *Emoji
parameters control the emojis and labels used for the pagination buttons.
Implementation
ComponentPaginationAbstract(
this.interactions, {
this.firstLabel = '<<',
this.prevLabel = '<',
this.nextLabel = '>',
this.lastLabel = '>>',
this.firstEmoji,
this.prevEmoji,
this.nextEmoji,
this.lastEmoji,
this.timeout,
this.user,
}) {
customPreId = randomAlpha(10);
}