You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
InlineKeyboardMarkup and InlineKeyboardButton objects are currently not really testable for equality because the _id_attrs are not set. We should add all attributes of IKB to the _id_attr and inline_keyboard for IKM.
Additional context
We already did that for MessageEntity iirc. Probably should go through the lib and do that for all the telegram objects.
Current workaround
Use __dict__ for everything
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
InlineKeyboardMarkup
andInlineKeyboardButton
objects are currently not really testable for equality because the_id_attrs
are not set. We should add all attributes ofIKB
to the_id_attr
andinline_keyboard
forIKM
.Additional context
We already did that for
MessageEntity
iirc. Probably should go through the lib and do that for all the telegram objects.Current workaround
Use
__dict__
for everythingThe text was updated successfully, but these errors were encountered: