CommandContext wrapping an interaction or message
Items to paginate. Each item may be a SectionBuilder or any object with toString()
OptionaltopSection: T | null
Optional header SectionBuilder or an object with toString() used as the top section
1-based page to open initially (default: 1)
Items per page (default: 10)
Optionalheader: string
Optional header text displayed above sections
A MessagePagination instance that can be used to control the pagination programmatically
Create and register a paginated message.