Constructs a new PaginationKeyboard instance.
Configuration options for items, page size, and button mapping.
Gets the active page clamped between 1 and totalPages.
Calculates the total number of pages.
Builds the final InlineKeyboardMarkup structure with item buttons and navigation row.
Constructed InlineKeyboardMarkup.
Fluent builder for creating paginated InlineKeyboardMarkup menus.
Example