mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-13 11:27:21 +01:00
31 lines
764 B
Markdown
31 lines
764 B
Markdown
|
---
|
||
|
title: audio
|
||
|
description: audio attributes, type and example
|
||
|
---
|
||
|
## Constructor: audio
|
||
|
[Back to constructors index](index.md)
|
||
|
|
||
|
|
||
|
|
||
|
### Attributes:
|
||
|
|
||
|
| Name | Type | Required |
|
||
|
|----------|:-------------:|---------:|
|
||
|
|id|[long](../types/long.md) | Required|
|
||
|
|access\_hash|[long](../types/long.md) | Required|
|
||
|
|date|[int](../types/int.md) | Required|
|
||
|
|duration|[int](../types/int.md) | Required|
|
||
|
|mime\_type|[string](../types/string.md) | Required|
|
||
|
|size|[int](../types/int.md) | Required|
|
||
|
|dc\_id|[int](../types/int.md) | Required|
|
||
|
|
||
|
|
||
|
|
||
|
### Type: [Audio](../types/Audio.md)
|
||
|
|
||
|
|
||
|
### Example:
|
||
|
|
||
|
```
|
||
|
$audio = ['_' => 'audio', 'id' => long, 'access_hash' => long, 'date' => int, 'duration' => int, 'mime_type' => string, 'size' => int, 'dc_id' => int, ];
|
||
|
```
|