TGTGInsighttelegram intelligenceLIVE / telegram public index
← python-telegram-bot
python-telegram-bot avatar

TGINSIGHT POST

Post #141

@pythontelegrambotchannel

python-telegram-bot

Views19,600Post view count
PostedApr 104/01/2024, 07:47 AM
Post content

Post content

Yesterday the Telegram team released Bot API 7.2. This update brings many changes, which we are already working on implementing. However there is one major backward incompatible change, which is the removal of the fields StickerSet.is_animated/is_video. This unfortunately breaks the method Bot.get_sticker_set and affects all versions of our library. The current workaround for this if you have v20.8+ is to directly call await bot.do_api_request("get_sticker_set", {"name": sticker_set_name}) and parse the resulting JSON return value. The upcoming version of the library will address this incompatibility. Thank you for understanding and being patient.