# Aiogram imports from aiogram.utils.keyboard import InlineKeyboardBuilder from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton PAY_BUTTON_TEXT = "💸 Оплатить" def get_pay_link_kb(payment_url: str) -> InlineKeyboardMarkup: builder = InlineKeyboardBuilder() builder.add(InlineKeyboardButton(text=PAY_BUTTON_TEXT, url=payment_url)) return builder.as_markup()