pytelegrambotapi(telebot) pagination buttons

63 views Asked by At

How to create an inline button pagination database is shown in this photo for example. but the names in the database should be put on the buttons, not numbers, and there should be 10 buttons on 1 page, of course there should be next and previous buttons, and X is not needed

enter image description here

2

There are 2 answers

1
user23330015 On

To create an inline button pagination in a telegram using Python, you can use the python-telegram-bot library

2
MaGua Bishop On

First of all, it's a bad question. You don't state your problem clearly.

Second if you want to display button can try to use the pytelegrambotapi types. InlineKeyboardMarkup () Or types. ReplyKeyboardMarkup ()