1 from .base
import importer
2 from ..parsers.tgs
import parse_tgs
5 @importer("Lottie JSON / Telegram Sticker", ["json", "tgs"], slug="lottie")
8 Imports a (optionally gzipped) Lottie JSON file
13 import_lottie = import_tgs
def import_tgs(file, *a, **kw)
def parse_tgs(filename, encoding="utf-8")
Reads both tgs and lottie files.