MadelineProtoDocs/old_docs/API_docs_v41/constructors/audio.md

1015 B

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

Constructor: audio

Back to constructors index

Audio

Attributes:

Name Type Required Description
id long Yes ID
access_hash long Yes Access hash
date int Yes Date
duration int Yes Duration
mime_type string Yes Mime type
size int Yes Size
dc_id int Yes DC ID

Type: Audio

Example:

$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => 'string', 'size' => int, 'dc_id' => int];

Or, if you're into Lua:

audio={_='audio', id=long, access_hash=long, date=int, duration=int, mime_type='string', size=int, dc_id=int}