- Introduced ad campaign management functionality, including the ability to create campaigns and attribute users based on ad parameters. - Updated user command handlers to process new ad-related parameters and log user interactions with ad campaigns. - Enhanced admin interfaces with new keyboard options for managing ads and displaying campaign information. - Added database models for ad campaigns and attributions, improving data management for advertising features. - Updated localization files to support new ad-related strings in both English and Russian.
26 lines
874 B
Python
26 lines
874 B
Python
from aiogram import Router
|
|
|
|
from . import common
|
|
from . import broadcast
|
|
from .promo import promo_router_aggregate
|
|
from . import user_management
|
|
from . import statistics
|
|
from . import sync_admin
|
|
from . import logs_admin
|
|
from . import payments
|
|
from . import ads
|
|
|
|
admin_router_aggregate = Router(name="admin_features_router")
|
|
|
|
admin_router_aggregate.include_router(common.router)
|
|
admin_router_aggregate.include_router(broadcast.router)
|
|
admin_router_aggregate.include_router(promo_router_aggregate)
|
|
admin_router_aggregate.include_router(user_management.router)
|
|
admin_router_aggregate.include_router(statistics.router)
|
|
admin_router_aggregate.include_router(sync_admin.router)
|
|
admin_router_aggregate.include_router(logs_admin.router)
|
|
admin_router_aggregate.include_router(payments.router)
|
|
admin_router_aggregate.include_router(ads.router)
|
|
|
|
__all__ = ("admin_router_aggregate", )
|