MadelineProtoDocs/old_docs/API_docs_v23/types/InputEncryptedFile.md

43 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2018-04-01 13:19:25 +02:00
---
title: InputEncryptedFile
description: constructors and methods of type InputEncryptedFile
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2020-06-16 17:50:25 +02:00
# Type: InputEncryptedFile
2018-04-01 13:19:25 +02:00
[Back to types index](index.md)
The following syntax can also be used:
2020-06-16 17:50:25 +02:00
```php
2018-04-01 13:19:25 +02:00
$InputEncryptedFile = 'filename.mp4'; // The file path can also be used
2020-06-16 17:50:25 +02:00
$InputEncryptedFile = 'https://google.com'; // A URL can also be used
2018-04-01 13:19:25 +02:00
```
2020-06-16 17:50:25 +02:00
You can also use async streams, HTTP response objects, and [much more](https://docs.madelineproto.xyz/docs/FILES.html#downloading-files)!
2018-04-01 13:19:25 +02:00
### Possible values (constructors):
[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md)
[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md)
[inputEncryptedFile](../constructors/inputEncryptedFile.md)
[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md)
### Methods that return an object of this type (methods):
2020-06-16 17:50:25 +02:00
[inputEncryptedFileEmpty](../constructors/inputEncryptedFileEmpty.md)
[inputEncryptedFileUploaded](../constructors/inputEncryptedFileUploaded.md)
[inputEncryptedFile](../constructors/inputEncryptedFile.md)
[inputEncryptedFileBigUploaded](../constructors/inputEncryptedFileBigUploaded.md)