Does Discourse accept TGS files?

No, that plugin isn’t for discourse.

Telegram animated emoji aren’t currently supported.