Question: how to do a gif in text?
Answer: Open the Messages app.
Select the "Images" icon from the menu bar below the new message field. ... 
A GIF keyboard will pop up that says "Find images." Scroll through the GIFs to view popular or recently used GIFs.