Skip to content

Commit

Permalink
feat: allow you to see all pages in a paginator
Browse files Browse the repository at this point in the history
  • Loading branch information
ANutley committed Aug 15, 2024
1 parent 00cd2a4 commit 32a3255
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ public boolean isEnd() {
return index == pages.size() - 1;
}

/**
* @return The list of pages in the paginator
*/
public List<MessageCreateData> getPages() {
return pages;
}


/**
* A common builder for paginators
Expand Down

0 comments on commit 32a3255

Please sign in to comment.