Don't have Telegram yet? Try it now!
https://codeyarns.com/2014/01/24/how-to-screen-capture-a-region-to-gif-using-byzanz/
How to screen capture a region to GIF using Byzanz