diff --git a/telegram/callbackquery.py b/telegram/callbackquery.py index c5edc632b..947d04503 100644 --- a/telegram/callbackquery.py +++ b/telegram/callbackquery.py @@ -90,6 +90,8 @@ class CallbackQuery(TelegramObject): self.bot = bot + self._id_attrs = ('id',) + @classmethod def de_json(cls, data, bot): if not data: