- Implemented a new command handler for displaying user devices. - Added functionality to disconnect devices from the user's account. - Updated subscription service to retrieve and manage device information. - Enhanced inline keyboard to include device management options. - Added new translations for device-related messages in English and Russian locales.
18 lines
488 B
Python
18 lines
488 B
Python
from aiogram import Router
|
|
|
|
from . import core
|
|
from . import payments
|
|
from . import payment_methods
|
|
|
|
router = Router(name="user_subscription_router")
|
|
|
|
# Include sub-routers
|
|
router.include_router(core.router)
|
|
router.include_router(payments.router)
|
|
router.include_router(payment_methods.router)
|
|
|
|
# Re-export commonly used entrypoints for backward compatibility
|
|
from .core import display_subscription_options, my_subscription_command_handler, my_devices_command_handler # noqa: E402,F401
|
|
|
|
|