diff options
author | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-24 17:35:13 +0200 |
---|---|---|
committer | Dmitrii Morozov <snoopdesigns@gmail.com> | 2024-06-24 17:35:13 +0200 |
commit | bb439d1e1f080440950fe1b1f2117d0e4e5506d9 (patch) | |
tree | da48658cc299aac2dc835d18262d26eab8eefc61 /telegram_bot/commands.py | |
parent | ceeb0d8709d0e63ffb957386ccbede1726cc3278 (diff) |
Answer callback query
Diffstat (limited to 'telegram_bot/commands.py')
-rw-r--r-- | telegram_bot/commands.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/telegram_bot/commands.py b/telegram_bot/commands.py index 5d4a849..c5e02ed 100644 --- a/telegram_bot/commands.py +++ b/telegram_bot/commands.py @@ -75,6 +75,7 @@ class GetStatsCallbackQueryHandler(CallbackQueryHandler): await self.reply_with_stats_days_difference(call.message, 7, 'week') elif call.data == __stats_month__: await self.reply_with_stats_days_difference(call.message, 30, 'month') + await self.__telegram_bot.answer_callback_query(callback_query_id=call.id) async def reply_with_today_stats(self, message): friends = await self.__fortnite_client.get_friends() |