MadelineProtoDocs/docs/TD_docs/constructors/inputMessageVoice.md

27 lines
736 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: inputMessageVoice
description: Voice 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
---
2018-04-05 01:19:57 +02:00
# Constructor: inputMessageVoice
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
Voice message
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|voice|[InputFile](../types/InputFile.md) | Yes|Voice file to send|
|duration|[int](../types/int.md) | Yes|Duration of the voice in seconds|
|waveform|[bytes](../types/bytes.md) | Yes|Waveform representation of the voice in 5-bit format|
|caption|[string](../types/string.md) | Yes|Voice caption, 0-200 characters|
### Type: [InputMessageContent](../types/InputMessageContent.md)