File tree Expand file tree Collapse file tree
pyrogram/client/types/messages_and_media Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,8 @@ def __init__(
7474 supports_streaming : bool = None ,
7575 file_size : int = None ,
7676 date : int = None ,
77- thumbs : List [Thumbnail ] = None
77+ thumbs : List [Thumbnail ] = None ,
78+ file_reference : bytes = b""
7879 ):
7980 super ().__init__ (client )
8081
@@ -88,6 +89,7 @@ def __init__(
8889 self .file_size = file_size
8990 self .date = date
9091 self .thumbs = thumbs
92+ self .file_reference = file_reference
9193
9294 @staticmethod
9395 def _parse (
@@ -110,6 +112,7 @@ def _parse(
110112 height = video_attributes .h ,
111113 duration = video_attributes .duration ,
112114 file_name = file_name ,
115+ file_reference = video .file_reference ,
113116 mime_type = video .mime_type ,
114117 supports_streaming = video_attributes .supports_streaming ,
115118 file_size = video .size ,
You can’t perform that action at this time.
0 commit comments