LuckyTurtleDev / mstickereditor

import sticker packs from telegram, to be used at the Maunium sticker picker for Matrix
Apache License 2.0
30 stars 3 forks source link

fixed issue 46: the TG stickerpack deserialisation issue #47

Closed cksit closed 6 months ago

cksit commented 6 months ago

The result of current version ofgetStickerSet don't have is_animated and is_video field. Thus, the v0.3.3 version are failed to import any Telegram stickers due to the deserialisation of result failed (#46) .

//Below is the current version of API result
{
    "ok": true,
    "result": {
        "name": "GumLoveIs",
        "title": "LIHKG Lomore",
        "thumbnail": {},
        "thumb": {},
        "sticker_type": "regular",
        "contains_masks": false,
        "stickers": []
    }
}