Announcing the feature via Twitters support account, the company shared a post that demonstrates how the feature works.
Hold the round red record button to capture your GIF.
After around half a second, Twitter will automatically stop recording and create your GIF.
once you nail recorded the GIF, you might preview it.
Twitter also allows you to determine how you want your GIF to play.
The GIFs created by you are automatically saved to your camera roll as a GIF in your images folder.
Currently, Twitter is testing the built-in GIF camera feature in the Twitter app for iOS.
source: www.techworm.net