mirror of https://github.com/coddrago/Heroku
Update utils.py
parent
7a2ed50236
commit
1959b4e908
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue