From 1959b4e9080ed1c72eab020d2bffef4f7e81189b Mon Sep 17 00:00:00 2001 From: Who? <155328415+coddrago@users.noreply.github.com> Date: Thu, 17 Apr 2025 00:11:13 +0700 Subject: [PATCH] Update utils.py --- hikka/inline/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hikka/inline/utils.py b/hikka/inline/utils.py index f45fc23..3583189 100644 --- a/hikka/inline/utils.py +++ b/hikka/inline/utils.py @@ -223,7 +223,7 @@ class Utils(InlineUnit): generate_markup = _generate_markup async def _close_unit_handler(self, call: InlineCall): - await call.delete() + return await self._client.delete_messages(call._units.get(call.unit_id).get('chat'), call._units.get(call.unit_id).get('message_id')) async def _unload_unit_handler(self, call: InlineCall): await call.unload()