|
|
@ -535,6 +535,7 @@ class StickerFormatType(Enum): |
|
|
|
png = 1 |
|
|
|
apng = 2 |
|
|
|
lottie = 3 |
|
|
|
gif = 4 |
|
|
|
|
|
|
|
@property |
|
|
|
def file_extension(self) -> str: |
|
|
@ -543,6 +544,7 @@ class StickerFormatType(Enum): |
|
|
|
StickerFormatType.png: 'png', |
|
|
|
StickerFormatType.apng: 'png', |
|
|
|
StickerFormatType.lottie: 'json', |
|
|
|
StickerFormatType.gif: 'gif', |
|
|
|
} |
|
|
|
# fmt: on |
|
|
|
return lookup[self] |
|
|
|