mirror of
https://github.com/MarshalX/telegram-crawler.git
synced 2025-03-23 16:49:51 +01:00
add PremiumGifts stickerset for other side
This commit is contained in:
parent
e67b5fd28d
commit
4abf004114
1 changed files with 5 additions and 1 deletions
|
@ -458,9 +458,13 @@ async def _fetch_and_track_mtproto(app, output_dir):
|
||||||
'EmojiCenterAnimations',
|
'EmojiCenterAnimations',
|
||||||
'AnimatedEmojies',
|
'AnimatedEmojies',
|
||||||
'AnimatedEmoji',
|
'AnimatedEmoji',
|
||||||
'GiftsPremium',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if app.test_mode:
|
||||||
|
sticker_set_short_names.add('PremiumGifts')
|
||||||
|
else:
|
||||||
|
sticker_set_short_names.add('GiftsPremium')
|
||||||
|
|
||||||
for short_name in sticker_set_short_names:
|
for short_name in sticker_set_short_names:
|
||||||
sticker_set = await app.invoke(functions.messages.GetStickerSet(
|
sticker_set = await app.invoke(functions.messages.GetStickerSet(
|
||||||
stickerset=InputStickerSetShortName(short_name=short_name), hash=0
|
stickerset=InputStickerSetShortName(short_name=short_name), hash=0
|
||||||
|
|
Loading…
Add table
Reference in a new issue