mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 04:30:22 +03:00
parent
f6fe580eb7
commit
bc7294f298
|
@ -243,10 +243,10 @@ class CallbackQuery(EventBuilder):
|
|||
since the message object is normally not present.
|
||||
"""
|
||||
self._client.loop.create_task(self.answer())
|
||||
return await self._client.edit_message(
|
||||
await self.get_input_chat(), self.query.msg_id,
|
||||
return await self._client(functions.messages.EditInlineBotMessageRequest(
|
||||
self.query.msg_id,
|
||||
*args, **kwargs
|
||||
)
|
||||
))
|
||||
|
||||
async def delete(self, *args, **kwargs):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user