MadelineProtoDocs/old_docs/API_docs_v2/constructors/documentAttributeFilename.md
2020-06-16 17:50:25 +02:00

775 B

title description image
documentAttributeFilename A simple document with a file name https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeFilename

Back to constructors index

A simple document with a file name

Attributes:

Name Type Required Description
file_name string Yes The file name

Type: DocumentAttribute

Example:

$documentAttributeFilename = ['_' => 'documentAttributeFilename', 'file_name' => 'string'];

Or, if you're into Lua:

documentAttributeFilename={_='documentAttributeFilename', file_name='string'}