Bot API 4.4 added basic support to animated stickers.
It should be possible to download animated stickers as .tgs files, but apparently addStickerToSet still only accepts png files (also the API changelog doesn't mention the method among those that support the new animated stickers format). So we need to wait for telegram to update the stickers API methods
Also, make sure to handle the exception the API will probably raise when adding an animated/non-animated sticker to a non-animated/animated pack (edit: this should happen since handlers are going to filter the correct sticker type (static/animated))
Bot API 4.4 added basic support to animated stickers.
It should be possible to download animated stickers as
.tgs
files, but apparentlyaddStickerToSet
still only accepts png files (also the API changelog doesn't mention the method among those that support the new animated stickers format). So we need to wait for telegram to update the stickers API methodsAlso, make sure to handle the exception the API will probably raise when adding an animated/non-animated sticker to a non-animated/animated pack (edit: this should happen since handlers are going to filter the correct sticker type (static/animated))