2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
title: inputMessageAudio
|
|
|
|
description: Audio message
|
2018-04-04 19:52:48 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
2018-04-01 13:19:25 +02:00
|
|
|
---
|
|
|
|
## Constructor: inputMessageAudio
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Audio message
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
|
|
|
|audio|[InputFile](../types/InputFile.md) | Yes|Audio file to send|
|
|
|
|
|album\_cover\_thumb|[inputThumb](../constructors/inputThumb.md) | Yes|Thumb of the album's cover, if available|
|
|
|
|
|duration|[int](../types/int.md) | Yes|Duration of the audio in seconds, may be replaced by the server|
|
|
|
|
|title|[string](../types/string.md) | Yes|Title of the audio, 0-64 characters, may be replaced by the server|
|
|
|
|
|performer|[string](../types/string.md) | Yes|Performer of the audio, 0-64 characters, may be replaced by the server|
|
|
|
|
|caption|[string](../types/string.md) | Yes|Audio caption, 0-200 characters|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputMessageContent](../types/InputMessageContent.md)
|
|
|
|
|
|
|
|
|