Fix-up get_message failing for UpdateInlineBotCallbackQuery

This commit is contained in:
Lonami Exo 2018-09-19 16:42:22 +02:00
parent ac59cfa25b
commit 5e13a6f7a8

View File

@ -140,7 +140,7 @@ class CallbackQuery(EventBuilder):
try:
chat = await self.get_input_chat() if self.is_channel else None
self._message = await self._client.get_messages(
chat, ids=self.query.msg_id)
chat, ids=self._message_id)
except ValueError:
return