mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
|
---
|
||
|
title: "webDocumentNoProxy"
|
||
|
description: "Remote document that can be downloaded without proxying through telegram"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: webDocumentNoProxy
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
Remote document that can be downloaded without [proxying through telegram](https://core.telegram.org/api/files)
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|url|[string](/API_docs/types/string.html) | Yes|Document URL|
|
||
|
|size|[int](/API_docs/types/int.html) | Yes|File size|
|
||
|
|mime\_type|[string](/API_docs/types/string.html) | Yes|MIME type|
|
||
|
|attributes|Array of [DocumentAttribute](/API_docs/types/DocumentAttribute.html) | Yes|Attributes for media types|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [WebDocument](/API_docs/types/WebDocument.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];
|
||
|
```
|