Skip to content

DraftMessageContentVoiceNote

Type · TDLib 1.8.67 · d1085f9c

A voice note message draft

DraftMessageContentVoiceNote(
  file_path: string,
  duration: int32,
  waveform: bytes,
  self_destruct_type: MessageSelfDestructType
) → DraftMessageContent

file_path

string

Path to the file with the voice note

duration

int32

Duration of the voice note, in seconds

waveform

bytes

Waveform representation of the voice note in 5-bit format

self_destruct_type

MessageSelfDestructType

Voice note self-destruct type; may be null if none; pass null if none; private chats only