def METHOD_NAME(self, inline_query_result_photo):
    assert inline_query_result_photo.type == self.type_
    assert inline_query_result_photo.id == self.id_
    assert inline_query_result_photo.photo_url == self.photo_url
    assert inline_query_result_photo.photo_width == self.photo_width
    assert inline_query_result_photo.photo_height == self.photo_height
    assert inline_query_result_photo.thumbnail_url == self.thumbnail_url
    assert inline_query_result_photo.title == self.title
    assert inline_query_result_photo.description == self.description
    assert inline_query_result_photo.caption == self.caption
    assert inline_query_result_photo.parse_mode == self.parse_mode
    assert inline_query_result_photo.caption_entities == tuple(self.caption_entities)
    assert (
        inline_query_result_photo.input_message_content.to_dict()
        == self.input_message_content.to_dict()
    )
    assert inline_query_result_photo.reply_markup.to_dict() == self.reply_markup.to_dict()