MadelineProtoDocs/old_docs/API_docs_v2/constructors/documentAttributeFilename.md

39 lines
775 B
Markdown
Raw Normal View History

2020-06-16 17:50:25 +02:00
---
title: documentAttributeFilename
description: A simple document with a file name
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: documentAttributeFilename
[Back to constructors index](index.md)
A simple document with a file name
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_name|[string](../types/string.md) | Yes|The file name|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```php
$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string'];
```
Or, if you're into Lua:
```lua
documentAttributeFilename={_='documentAttributeFilename', file_name='string'}
```