Add rich comparison to CallbackQuery (#764)

We currently have no tests for it. Noted for #756 and #757.
This commit is contained in:
Jacob Bom 2017-08-01 22:07:12 +02:00 committed by Noam Meltzer
parent 454ab050c0
commit b3069348ca

View file

@ -90,6 +90,8 @@ class CallbackQuery(TelegramObject):
self.bot = bot
self._id_attrs = ('id',)
@classmethod
def de_json(cls, data, bot):
if not data: