def METHOD_NAME(self, inline_query_result_cached_gif):
    assert inline_query_result_cached_gif.type == self.type_
    assert inline_query_result_cached_gif.id == self.id_
    assert inline_query_result_cached_gif.gif_file_id == self.gif_file_id
    assert inline_query_result_cached_gif.title == self.title
    assert inline_query_result_cached_gif.caption == self.caption
    assert inline_query_result_cached_gif.parse_mode == self.parse_mode
    assert inline_query_result_cached_gif.caption_entities == tuple(self.caption_entities)
    assert (
        inline_query_result_cached_gif.input_message_content.to_dict()
        == self.input_message_content.to_dict()
    )
    assert inline_query_result_cached_gif.reply_markup.to_dict() == self.reply_markup.to_dict()