MadelineProtoDocs/old_docs/API_docs_v82/constructors/documentAttributeFilename.md

45 lines
886 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: documentAttributeFilename
description: Document attribute filename
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: documentAttributeFilename
[Back to constructors index](index.md)
Document attribute filename
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file\_name|[string](../types/string.md) | Yes|File name|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```php
$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string'];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "documentAttributeFilename", "file_name": "string"}
```
Or, if you're into Lua:
```lua
documentAttributeFilename={_='documentAttributeFilename', file_name='string'}
```