You start the message with /giphy and then a search item for something.
Like
"/giphy funny trump"
(or something less political) when you press Enter you get a gif that represents what you searched for (sort of).
Never comes up with anything on my chat.