Stanislav Semenov
Stanislav Semenov
try without if elif, it helped me: @bot.callback_query_handler(func=lambda call: call.data == 'pn') def pn(call): bot.edit_message_text(chat_id=call.message.chat.id, message_id=call.message.message_id, text=con.tittle + con.pn, reply_markup=gen_markup()) @bot.callback_query_handler(func=lambda call: call.data == 'vt') def vt(call): bot.edit_message_text(chat_id=call.message.chat.id, message_id=call.message.message_id, text=con.tittle...
You are right! Thanks for help! with _User__withdraw_details it's working fine. On the subject of private attributes, you are also right, I'm just still learning python and experimenting and trying...