Skip to content

Commit b306934

Browse files
jsmnbomtsnoam
authored andcommitted
Add rich comparison to CallbackQuery (python-telegram-bot#764)
We currently have no tests for it. Noted for python-telegram-bot#756 and python-telegram-bot#757.
1 parent 454ab05 commit b306934

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

telegram/callbackquery.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,8 @@ def __init__(self,
9090

9191
self.bot = bot
9292

93+
self._id_attrs = ('id',)
94+
9395
@classmethod
9496
def de_json(cls, data, bot):
9597
if not data:

0 commit comments

Comments
 (0)