Enhance inline query handling and admin statistics retrieval

- Updated inline query handler to include settings for thumbnail URLs, improving the customization of inline results.
- Refactored admin statistics retrieval to utilize new data structures for user status and bandwidth statistics, enhancing clarity and accuracy in reporting.
- Removed deprecated help result creation code to streamline the inline query functionality.
- Added new settings for inline mode thumbnail URLs to improve maintainability and flexibility in the codebase.
This commit is contained in:
machka-pasla
2025-08-03 21:37:39 +03:00
parent ebca408227
commit 23aa3934e4
4 changed files with 55 additions and 83 deletions
-1
View File
@@ -106,7 +106,6 @@ async def admin_panel_actions_callback_handler(
await admin_logs_handlers.display_logs_menu(callback, i18n_data,
settings, session)
elif action == "promo_management":
from . import promo_codes as admin_promo_handlers
await admin_promo_handlers.promo_management_handler(
callback, i18n_data, settings, session)
elif action == "sync_panel":