Skip to content

Commit

Permalink
pyrofork: Remove unused animated and videos field from stickerset
Browse files Browse the repository at this point in the history
Signed-off-by: wulan17 <wulan17@nusantararom.org>
  • Loading branch information
wulan17 committed Nov 14, 2024
1 parent 5bd8225 commit 30ccd31
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pyrogram/types/messages_and_media/stickerset.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ class StickerSet(Object):
masks (``Boolean``):
Is this a mask stickerset.
animated (``Boolean``):
Is this a animated stickerset.
videos (``Boolean``):
Is this a videos stickerset.
emojis (``Boolean``):
Is this a emojis stickerset.
"""
Expand All @@ -61,17 +55,13 @@ def __init__(
short_name: str,
count: int,
masks: bool = None,
animated: bool = None,
videos: bool = None,
emojis: bool = None
):
self.id = id
self.title = title
self.short_name = short_name
self.count = count
self.masks = masks
self.animated = animated
self.videos = videos
self.emojis = emojis

@staticmethod
Expand All @@ -83,7 +73,5 @@ def _parse(stickerset: "raw.types.StickerSet") -> "StickerSet":
short_name=getattr(stickerset,"short_name", None),
count=getattr(stickerset,"count", None),
masks=getattr(stickerset,"masks", None),
animated=getattr(stickerset,"animated", None),
videos=getattr(stickerset,"videos", None),
emojis=getattr(stickerset,"emojis", None)
)

0 comments on commit 30ccd31

Please sign in to comment.