I need to implement pagination for list of entities in a telegram bot's reply keyboard.
the problem is that i need to have a show more
button that loads next set of entities and i don't know how to get the page that user is currently viewing.
the next problem is how to know which list of entities is user currently viewing.
the only way that there is in my mind is to store the current state of user in database or cache it but i don't know that is there some way to add additional data to telegram reply keyboard's button or some other way to do this so i don't have to do this load of work.