ilyarolf / AiogramShopBot

Aiogram Telegram bot shop with ways to deposit in BTC, LTC, USDT TRC-20, USDT ERC-20, USDD TRC-20, USDC ERC-20.
https://t.me/demo_aiogramshopbot
MIT License
63 stars 21 forks source link

Inline buttons #34

Closed turazashvili closed 7 months ago

turazashvili commented 7 months ago

Hi, created container with docker, set up all as per instructions. seems like no Inline buttons work. All Keyboard Buttons work properly, but inlines seem not to trigger. Nothing shows up in console logs either.

any suggestions if i'm doing something wrong?

ilyarolf commented 7 months ago

Hi @turazashvili, are you using the version with or without database encryption? Which particular inline button is not working for you? Try adding a logger on all incoming CallbackQuery, maybe that will give some clue to the solution.

turazashvili commented 7 months ago

Hi @turazashvili, are you using the version with or without database encryption? Which particular inline button is not working for you? Try adding a logger on all incoming CallbackQuery, maybe that will give some clue to the solution.

It looks like it creates buttons correctly, but router doesn't catch any callbacks: AiogramShopBot | Creating AdminCallback: level=1, action=send_to_everyone, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=4, action=add_items, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=5, action=send_to_everyone, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=6, action=get_db_file, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=7, action=, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=8, action=, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=11, action=, args_to_action=, page=0 AiogramShopBot | Creating AdminCallback: level=14, action=, args_to_action=, page=0

turazashvili commented 7 months ago

must be internal telegram error. created different bot and with no changes it worked fine.