There is a thing called a callback factory (Callback Data Factory). The idea is that we can specify a callback_data structure, and a special class will automatically collect it - when forming a button, and then filter and parse it - when processing a click on this button.