Document¶
-
class
pyrogram.api.types.
Document
¶ -
LAYER
¶ 105
-
ID
¶ 0x9ba29cc1
- Parameters
id –
int
64-bit
access_hash –
int
64-bit
file_reference –
bytes
date –
int
32-bit
mime_type –
str
size –
int
32-bit
dc_id –
int
32-bit
attributes – List of either
DocumentAttributeImageSize
,DocumentAttributeAnimated
,DocumentAttributeSticker
,DocumentAttributeVideo
,DocumentAttributeAudio
,DocumentAttributeFilename
orDocumentAttributeHasStickers
thumbs (optional) – List of either
PhotoSizeEmpty
,PhotoSize
,PhotoCachedSize
orPhotoStrippedSize
See also
This object can be returned by
account.UploadTheme
andmessages.GetDocumentByHash
.-