InputVoiceNote¶
A video note to be sent
InputVoiceNote(
voice_note: InputFile,
duration: int32,
waveform: bytes
) → InputVoiceNote
voice_note¶
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