mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-03 10:08:28 +01:00
30 lines
718 B
Markdown
30 lines
718 B
Markdown
|
---
|
||
|
title: "documentAttributeFilename"
|
||
|
description: "A simple document with a file name"
|
||
|
nav_exclude: true
|
||
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
||
|
---
|
||
|
# Constructor: documentAttributeFilename
|
||
|
[Back to constructors index](/API_docs/constructors/index.html)
|
||
|
|
||
|
|
||
|
|
||
|
A simple document with a file name
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required | Description |
|
||
|
|----------|---------------|----------|-------------|
|
||
|
|file\_name|[string](/API_docs/types/string.html) | Yes|The file name|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [DocumentAttribute](/API_docs/types/DocumentAttribute.html)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string'];
|
||
|
```
|