Class DocumentType.

see
package Default

 Properties

 

Unique file identifier.

$fileId : string

Default

 

Optional. Original filename as defined by sender.

$fileName : string | null

Default

 

Optional. File size.

$fileSize : integer | null

Default

 

Unique identifier for this file, which is supposed to be the same over time and for different bots.

$fileUniqueId : string

Default

Can't be used to download or reuse the file.

 

Optional. MIME type of the file as defined by sender.

$mimeType : string | null

Default

 

Optional. Document thumbnail as defined by sender.

$thumb : \TgBotApi\BotApiBase\Type\PhotoSizeType | null

Default