Skip to content

document

document#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;

Document

Name Type Flag Default Description
flags # flag word —
id long — —
access_hash long — —
file_reference bytes — —
date int — —
mime_type string — —
size long — —
thumbs flags.0?Vector flags.0 —
video_thumbs flags.1?Vector flags.1 —
dc_id int — —
attributes Vector — —
Parameter Bit Meaning
thumbs 0 Controlled by flags; present when this bit is set.
video_thumbs 1 Controlled by flags; present when this bit is set.
from miniproto.raw.types import Document

Public access: miniproto.raw.types.Document.

Document

Schema sources