InputDocumentFileLocation
- class pyrogram.raw.types.InputDocumentFileLocation
Document location (video, voice, audio, basically every type except photo)
Constructor of
InputFileLocation.- Details:
Layer:
223ID:
BAD07584
- Parameters:
id (
int64-bit) – Document IDaccess_hash (
int64-bit) – access_hash parameter from the document constructorfile_reference (
bytes) – File referencethumb_size (
str) – Thumbnail size to download the thumbnail
TL Schema
inputDocumentFileLocation#bad07584
id:long
access_hash:long
file_reference:bytes
thumb_size:string
= InputFileLocation
Parameter Tree
InputDocumentFileLocation
├── id →
long├── access_hash →
long├── file_reference →
bytes└── thumb_size →
stringExample
InputDocumentFileLocation(
id=0,
access_hash=0,
file_reference=b"data",
thumb_size="text",
)