1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-27 03:14:39 +01:00
MadelineProto/old_docs/API_docs_v27/constructors/audio.md

831 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
user_id int 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, 'user_id' => int, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ];