View Source ExTDLib.Object.InputMessageVoiceNote (ExTDLib v0.0.4)

A voice note message.

NameTypeDescription
voice_noteInputFileVoice note to be sent.
durationnumberDuration of the voice note, in seconds.
waveformbytesWaveform representation of the voice note in 5-bit format.
captionformattedTextVoice note caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.

More details on telegram's documentation.