35 lines
814 B
Markdown
35 lines
814 B
Markdown
|
---
|
||
|
title: InputFile
|
||
|
description: constructors and methods of type InputFile
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Type: InputFile
|
||
|
[Back to types index](index.md)
|
||
|
|
||
|
The following syntax can also be used:
|
||
|
|
||
|
```php
|
||
|
$InputFile = 'filename.mp4'; // The file path can also be used
|
||
|
$InputFile = 'https://google.com'; // A URL can also be used
|
||
|
```
|
||
|
|
||
|
You can also use async streams, HTTP response objects, and [much more](https://docs.madelineproto.xyz/docs/FILES.html#downloading-files)!
|
||
|
|
||
|
|
||
|
### Possible values (constructors):
|
||
|
|
||
|
[inputFile](../constructors/inputFile.md)
|
||
|
|
||
|
[inputFileBig](../constructors/inputFileBig.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Methods that return an object of this type (methods):
|
||
|
|
||
|
|
||
|
|
||
|
[inputFile](../constructors/inputFile.md)
|
||
|
|
||
|
[inputFileBig](../constructors/inputFileBig.md)
|
||
|
|