mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 02:26:55 +01:00
966 B
966 B
title | description |
---|---|
inputMessageVoice | Voice message |
Constructor: inputMessageVoice
Voice message
Attributes:
Name | Type | Required | Description |
---|---|---|---|
voice | InputFile | Yes | Voice file to send |
duration | int | Yes | Duration of voice in seconds |
waveform | bytes | Yes | Waveform representation of the voice in 5-bit format |
caption | string | Yes | Voice caption, 0-200 characters |
Type: InputMessageContent
Example:
$inputMessageVoice = ['_' => 'inputMessageVoice', 'voice' => InputFile, 'duration' => int, 'waveform' => bytes, 'caption' => string, ];
Or, if you're into Lua:
inputMessageVoice={_='inputMessageVoice', voice=InputFile, duration=int, waveform=bytes, caption=string, }