mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-07 15:34:52 +00:00
Add Document type
This commit is contained in:
parent
35fcfe8266
commit
281323288e
1 changed files with 15 additions and 0 deletions
15
pyrogram/client/types/document.py
Normal file
15
pyrogram/client/types/document.py
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
from . import PhotoSize
|
||||||
|
|
||||||
|
|
||||||
|
class Document:
|
||||||
|
def __init__(self,
|
||||||
|
file_id: str,
|
||||||
|
thumb: PhotoSize = None,
|
||||||
|
file_name: str = None,
|
||||||
|
mime_type: str = None,
|
||||||
|
file_size: int = None):
|
||||||
|
self.file_id = file_id
|
||||||
|
self.thumb = thumb
|
||||||
|
self.file_name = file_name
|
||||||
|
self.mime_type = mime_type
|
||||||
|
self.file_size = file_size
|
||||||
Loading…
Reference in a new issue