def METHOD_NAME(self):
    a = InlineQueryResultGif(self.id_, self.gif_url, self.thumbnail_url)
    b = InlineQueryResultGif(self.id_, self.gif_url, self.thumbnail_url)
    c = InlineQueryResultGif(self.id_, "", self.thumbnail_url)
    d = InlineQueryResultGif("", self.gif_url, self.thumbnail_url)
    e = InlineQueryResultVoice(self.id_, "", "")
    assert a == b
    assert hash(a) == hash(b)
    assert a is not b
    assert a == c
    assert hash(a) == hash(c)
    assert a != d
    assert hash(a) != hash(d)
    assert a != e
    assert hash(a) != hash(e)