MadelineProtoDocs/docs/API_docs/constructors/documentAttributeFilename.md

30 lines
718 B
Markdown
Raw Normal View History

2024-05-01 14:53:46 +02:00
---
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'];
```