mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-27 01:34:29 +03:00
Fix-up get_message failing for UpdateInlineBotCallbackQuery
This commit is contained in:
parent
ac59cfa25b
commit
5e13a6f7a8
|
@ -140,7 +140,7 @@ class CallbackQuery(EventBuilder):
|
||||||
try:
|
try:
|
||||||
chat = await self.get_input_chat() if self.is_channel else None
|
chat = await self.get_input_chat() if self.is_channel else None
|
||||||
self._message = await self._client.get_messages(
|
self._message = await self._client.get_messages(
|
||||||
chat, ids=self.query.msg_id)
|
chat, ids=self._message_id)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user