You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found type for creating markup list : types.InlineKeyboardMarkup()
I need render list with back and next button , count of row list, max items. if exist next item show next buttom, if dosn't exist then hide. This is simple pagination grid.
I'm sure that for many years this problem has been solved a thousand times, where can I find a ready-made component based on InlineKeyboardMarkup so as not to implement it too?
As a result, there are a lot of callbacks, too confusing code, and when there are 20 such lists in the application ...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I found type for creating markup list : types.InlineKeyboardMarkup()
I need render list with back and next button , count of row list, max items. if exist next item show next buttom, if dosn't exist then hide. This is simple pagination grid.
I'm sure that for many years this problem has been solved a thousand times, where can I find a ready-made component based on InlineKeyboardMarkup so as not to implement it too?
As a result, there are a lot of callbacks, too confusing code, and when there are 20 such lists in the application ...
Beta Was this translation helpful? Give feedback.
All reactions