... callback_data='repeat:10'
... callback_data='repeat:50'
... callback_data='repeat:100'
@bot.callback_query_handler(func=lambda call: call.data.startswith('repeat:')
def repeat_query_handler(call):
global user_repeat_texts
repeat_count = int(call.data.replace('repeat:',''))
...
@bot.callback_query_handler(func=lambda call: call.data == 'another_button'):
def another_handler(call):
# тут действия по обработке другой кнопки