# danog\MadelineProto\BotApiFileId: Indicates a bot API file ID to upload using sendDocument, sendPhoto etc...

[Back to index](../../index.html)

> Author: Daniil Gentili <daniil@daniil.it>  
  

Indicates a bot API file ID to upload using sendDocument, sendPhoto etc...  



## Properties
* `$fileId`: `string` 
* `$size`: `int` 
* `$fileName`: `string` 
* `$protected`: `bool` 

## Method list:
* [`__construct(string $fileId, int<1, max> $size, string $fileName, bool $protected)`](#__construct)

## Methods:
### <a name="__construct"></a> `__construct(string $fileId, int<1, max> $size, string $fileName, bool $protected)`




Parameters:

* `$fileId`: `string` The file ID  
* `$size`: `int<1, max>` The file size  
* `$fileName`: `string` The original file name  
* `$protected`: `bool` Whether the original file is protected  


#### See also: 
* `max`




---
Generated by [danog/phpdoc](https://phpdoc.daniil.it)
