Document¶
Describes a document of any type
Document(
file_name: string,
mime_type: string,
minithumbnail: Minithumbnail,
thumbnail: Thumbnail,
document: File
) → Document
file_name¶
string
Original name of the file; as defined by the sender
mime_type¶
string
MIME type of the file; as defined by the sender
minithumbnail¶
Document minithumbnail; may be null
thumbnail¶
Document thumbnail in JPEG or PNG format (PNG will be used only for background patterns); as defined by the sender; may be null
document¶
File containing the document