MadelineProto/old_docs/API_docs_v42/constructors/audio.md

768 B

title description
audio audio attributes, type and example

Constructor: audio

Back to constructors index

Attributes:

Name Type Required
id long Required
access_hash long Required
date int Required
duration int Required
mime_type string Required
size int Required
dc_id int Required

Type: Audio

Example:

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