Skip to content

InputVoiceNote

Type · TDLib 1.8.67 · d1085f9c

A video note to be sent

InputVoiceNote(
  voice_note: InputFile,
  duration: int32,
  waveform: bytes
) → InputVoiceNote

voice_note

InputFile

Voice note file to be sent. The voice note must be encoded with the Opus codec and stored inside an OGG container with a single audio channel, or be in MP3 or M4A format as regular audio

duration

int32

Duration of the voice note, in seconds

waveform

bytes

Waveform representation of the voice note in 5-bit format