diff --git a/hikka/modules/updater.py b/hikka/modules/updater.py index ea64f6b..c137c77 100644 --- a/hikka/modules/updater.py +++ b/hikka/modules/updater.py @@ -209,18 +209,14 @@ class UpdaterMod(loader.Module): "text": self.strings("btn_update"), "callback": self.inline_update, }, - {"text": self.strings("cancel"), "callback": self.close}, + {"text": self.strings("cancel"), "action": "close"}, ], ) ): raise except Exception: await self.inline_update(message) - - async def close(self, msg_obj: typing.Union[InlineCall, Message], hard: bool = False,): - - await call.delete() - + async def inline_update( self, msg_obj: typing.Union[InlineCall, Message],