maybe fix ?

https://t.me/TelethonChat/115200
This commit is contained in:
Shrimadhav U K 2019-03-23 13:22:28 +05:30 committed by GitHub
parent f6fe580eb7
commit bc7294f298
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -243,10 +243,10 @@ class CallbackQuery(EventBuilder):
since the message object is normally not present. since the message object is normally not present.
""" """
self._client.loop.create_task(self.answer()) self._client.loop.create_task(self.answer())
return await self._client.edit_message( return await self._client(functions.messages.EditInlineBotMessageRequest(
await self.get_input_chat(), self.query.msg_id, self.query.msg_id,
*args, **kwargs *args, **kwargs
) ))
async def delete(self, *args, **kwargs): async def delete(self, *args, **kwargs):
""" """