mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
Add rich comparison to CallbackQuery (#764)
We currently have no tests for it. Noted for #756 and #757.
This commit is contained in:
parent
454ab050c0
commit
b3069348ca
1 changed files with 2 additions and 0 deletions
|
@ -90,6 +90,8 @@ class CallbackQuery(TelegramObject):
|
|||
|
||||
self.bot = bot
|
||||
|
||||
self._id_attrs = ('id',)
|
||||
|
||||
@classmethod
|
||||
def de_json(cls, data, bot):
|
||||
if not data:
|
||||
|
|
Loading…
Reference in a new issue