From 4bcc69008339089d63c227a9299e714604c6dc23 Mon Sep 17 00:00:00 2001 From: wulan17 Date: Thu, 14 Nov 2024 17:11:38 +0700 Subject: [PATCH] pyrofork: Remove unused animated and videos field from stickerset Signed-off-by: wulan17 --- pyrogram/types/messages_and_media/stickerset.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pyrogram/types/messages_and_media/stickerset.py b/pyrogram/types/messages_and_media/stickerset.py index 385b1fe5..aa56165b 100644 --- a/pyrogram/types/messages_and_media/stickerset.py +++ b/pyrogram/types/messages_and_media/stickerset.py @@ -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. """ @@ -61,8 +55,6 @@ class StickerSet(Object): short_name: str, count: int, masks: bool = None, - animated: bool = None, - videos: bool = None, emojis: bool = None ): self.id = id @@ -70,8 +62,6 @@ class StickerSet(Object): self.short_name = short_name self.count = count self.masks = masks - self.animated = animated - self.videos = videos self.emojis = emojis @staticmethod @@ -83,7 +73,5 @@ class StickerSet(Object): 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) )