diff --git a/aiogram/types/callback_query.py b/aiogram/types/callback_query.py index 51ba1f17..e847bff8 100644 --- a/aiogram/types/callback_query.py +++ b/aiogram/types/callback_query.py @@ -54,8 +54,11 @@ class CallbackQuery(base.TelegramObject): :type cache_time: :obj:`typing.Union[base.Integer, None]` :return: On success, True is returned. :rtype: :obj:`base.Boolean`""" - await self.bot.answer_callback_query(callback_query_id=self.id, text=text, - show_alert=show_alert, url=url, cache_time=cache_time) + return await self.bot.answer_callback_query(callback_query_id=self.id, + text=text, + show_alert=show_alert, + url=url, + cache_time=cache_time) def __hash__(self): return hash(self.id)