MadelineProtoDocs/old_docs/API_docs_v33/constructors/documentAttributeAudio.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.0 KiB

title description image
documentAttributeAudio Document attribute audio https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: documentAttributeAudio

Back to constructors index

Document attribute audio

Attributes:

Name Type Required Description
duration int Optional Duration
title string Yes Title
performer string Yes Performer

Type: DocumentAttribute

Example:

$documentAttributeAudio = ['_' => 'documentAttributeAudio', 'duration' => int, 'title' => 'string', 'performer' => 'string'];

PWRTelegram json-encoded version:

{"_": "documentAttributeAudio", "duration": int, "title": "string", "performer": "string"}

Or, if you're into Lua:

documentAttributeAudio={_='documentAttributeAudio', duration=int, title='string', performer='string'}