MadelineProto/docs/API_docs/constructors/documentAttributeFilename.md
2017-05-28 03:49:19 +01:00

36 lines
640 B
Markdown

---
title: documentAttributeFilename
description: documentAttributeFilename attributes, type and example
---
## Constructor: documentAttributeFilename
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|file\_name|[string](../types/string.md) | Yes|
### Type: [DocumentAttribute](../types/DocumentAttribute.md)
### Example:
```
$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => string, ];
```
Or, if you're into Lua:
```
documentAttributeFilename={_='documentAttributeFilename', file_name=string, }
```