Update utils.py

pull/132/head
Who? 2025-04-17 00:11:13 +07:00 committed by GitHub
parent 7a2ed50236
commit 1959b4e908
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ class Utils(InlineUnit):
generate_markup = _generate_markup generate_markup = _generate_markup
async def _close_unit_handler(self, call: InlineCall): 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): async def _unload_unit_handler(self, call: InlineCall):
await call.unload() await call.unload()