Open poteminr opened 2 years ago
Thank you for sharing your pagination. I'll gladly accept your pull request if you make a few changes.
Sounds reasonable. I'm going to do it :)
@ksinn New images from README.md will be available after uploading on examples/media folder.
@ksinn What about Pull Request?
I created a new type of Paginator: InlineKeyboardSimplePaginator. It can be used for turning pages in a circle.
Basic InlineKeyboardPaginator is too complex for creating a small app where we need to go through pages and not think about other pages, their numbers. (for example, a list of university assignments for Tuesday).
Format of keyboard (three buttons) :
‹‹ {current_page}/{page_count} ››
e.g.‹‹ 11/15 ››
Later I can extend the functionality of InlineKeyboardSimplePaginator.