pyrofork: Remove unused animated and videos field from stickerset

Signed-off-by: wulan17 <wulan17@nusantararom.org>
This commit is contained in:
wulan17 2024-11-14 17:11:38 +07:00
parent db562461ad
commit 4bcc690083
No known key found for this signature in database
GPG key ID: 318CD6CD3A6AC0A5

View file

@ -43,12 +43,6 @@ class StickerSet(Object):
masks (``Boolean``): masks (``Boolean``):
Is this a mask stickerset. Is this a mask stickerset.
animated (``Boolean``):
Is this a animated stickerset.
videos (``Boolean``):
Is this a videos stickerset.
emojis (``Boolean``): emojis (``Boolean``):
Is this a emojis stickerset. Is this a emojis stickerset.
""" """
@ -61,8 +55,6 @@ class StickerSet(Object):
short_name: str, short_name: str,
count: int, count: int,
masks: bool = None, masks: bool = None,
animated: bool = None,
videos: bool = None,
emojis: bool = None emojis: bool = None
): ):
self.id = id self.id = id
@ -70,8 +62,6 @@ class StickerSet(Object):
self.short_name = short_name self.short_name = short_name
self.count = count self.count = count
self.masks = masks self.masks = masks
self.animated = animated
self.videos = videos
self.emojis = emojis self.emojis = emojis
@staticmethod @staticmethod
@ -83,7 +73,5 @@ class StickerSet(Object):
short_name=getattr(stickerset,"short_name", None), short_name=getattr(stickerset,"short_name", None),
count=getattr(stickerset,"count", None), count=getattr(stickerset,"count", None),
masks=getattr(stickerset,"masks", None), masks=getattr(stickerset,"masks", None),
animated=getattr(stickerset,"animated", None),
videos=getattr(stickerset,"videos", None),
emojis=getattr(stickerset,"emojis", None) emojis=getattr(stickerset,"emojis", None)
) )