TDLib v0.0.2 TDLib.Object.InputMessageVoiceNote View Source

A voice note message.

NameTypeDescription
voice_noteInputFileVoice note to be sent.
durationnumberDuration of the voice note, in seconds.
waveformstringWaveform representation of the voice note, in 5-bit format.
captionformattedTextVoice note caption; 0-200 characters.

More details on telegram’s documentation.