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
Is your feature request related to a problem? Please describe.
InlineKeyboardMarkupandInlineKeyboardButtonobjects are currently not really testable for equality because the_id_attrsare not set. We should add all attributes ofIKBto the_id_attrandinline_keyboardforIKM.Additional context
We already did that for
MessageEntityiirc. Probably should go through the lib and do that for all the telegram objects.Current workaround
Use
__dict__for everything