diff --git a/handlers/payments/heleket.py b/handlers/payments/heleket.py index 7ca18dd7..e6b73a07 100644 --- a/handlers/payments/heleket.py +++ b/handlers/payments/heleket.py @@ -52,7 +52,7 @@ async def process_callback_pay_heleket(callback_query: types.CallbackQuery, stat await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -119,7 +119,7 @@ async def process_method_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -186,7 +186,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -199,7 +199,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Минимальная сумма для оплаты криптовалютой — 10 рублей.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -207,7 +207,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Некорректная сумма. Введите целое число больше 0.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -244,7 +244,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -257,7 +257,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Некорректная сумма.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return diff --git a/handlers/payments/kassai.py b/handlers/payments/kassai.py index 0f8311ce..9fe36bce 100644 --- a/handlers/payments/kassai.py +++ b/handlers/payments/kassai.py @@ -53,7 +53,7 @@ async def process_callback_pay_kassai(callback_query: types.CallbackQuery, state await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -120,7 +120,7 @@ async def process_method_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -187,7 +187,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -200,7 +200,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Минимальная сумма для оплаты через СБП — 10 рублей.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -208,7 +208,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Некорректная сумма. Введите целое число больше 0.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -245,7 +245,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранный способ оплаты недоступен.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -258,7 +258,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Некорректная сумма.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return diff --git a/handlers/payments/wata.py b/handlers/payments/wata.py index e2478a81..719528ff 100644 --- a/handlers/payments/wata.py +++ b/handlers/payments/wata.py @@ -50,7 +50,7 @@ async def process_callback_pay_wata(callback_query: types.CallbackQuery, state: await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранная касса недоступна.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -106,7 +106,7 @@ async def process_cassa_selection(callback_query: types.CallbackQuery, state: FS await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранная касса недоступна.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -165,7 +165,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Ошибка: выбранная касса недоступна.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -177,7 +177,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Минимальная сумма для оплаты через СБП — 50 рублей.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -185,7 +185,7 @@ async def handle_custom_amount_input(message: types.Message, state: FSMContext): await edit_or_send_message( target_message=message, text="Некорректная сумма. Введите целое число больше 0.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -216,7 +216,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Ошибка: выбранная касса недоступна.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return @@ -228,7 +228,7 @@ async def process_amount_selection(callback_query: types.CallbackQuery, state: F await edit_or_send_message( target_message=callback_query.message, text="Некорректная сумма.", - reply_markup=types.InlineKeyboardMarkup(), + reply_markup=InlineKeyboardMarkup(inline_keyboard=[]), force_text=True, ) return