Airgram

Guides
/
/
Output types

Document

Describes a document of any type.

This is an alias for the DocumentUnion type.


NameTypeDescription
_"document"
fileNamestring Original name of the file; as defined by the sender
mimeTypestring 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