mirror of
https://github.com/pyrogram/pyrogram
synced 2025-08-29 05:18:10 +00:00
Fix trailing commas breaking older Python versions
This commit is contained in:
parent
c65e210c03
commit
e63b915ec2
@ -72,7 +72,7 @@ class Animation(Object):
|
|||||||
mime_type: str = None,
|
mime_type: str = None,
|
||||||
file_size: int = None,
|
file_size: int = None,
|
||||||
date: int = None,
|
date: int = None,
|
||||||
thumbs: List[Thumbnail] = None,
|
thumbs: List[Thumbnail] = None
|
||||||
):
|
):
|
||||||
super().__init__(client)
|
super().__init__(client)
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ class Audio(Object):
|
|||||||
date: int = None,
|
date: int = None,
|
||||||
performer: str = None,
|
performer: str = None,
|
||||||
title: str = None,
|
title: str = None,
|
||||||
thumbs: List[Thumbnail] = None,
|
thumbs: List[Thumbnail] = None
|
||||||
):
|
):
|
||||||
super().__init__(client)
|
super().__init__(client)
|
||||||
|
|
||||||
|
@ -60,7 +60,7 @@ class Document(Object):
|
|||||||
mime_type: str = None,
|
mime_type: str = None,
|
||||||
file_size: int = None,
|
file_size: int = None,
|
||||||
date: int = None,
|
date: int = None,
|
||||||
thumbs: List[Thumbnail] = None,
|
thumbs: List[Thumbnail] = None
|
||||||
):
|
):
|
||||||
super().__init__(client)
|
super().__init__(client)
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class StrippedThumbnail(Object):
|
|||||||
self,
|
self,
|
||||||
*,
|
*,
|
||||||
client: "pyrogram.BaseClient" = None,
|
client: "pyrogram.BaseClient" = None,
|
||||||
data: bytes,
|
data: bytes
|
||||||
):
|
):
|
||||||
super().__init__(client)
|
super().__init__(client)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user