mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 00:07:20 +01:00
36 lines
640 B
Markdown
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, }
|
||
|
|
||
|
```
|
||
|
|
||
|
|