Skip to content

InputMessageVoiceNote

Type · TDLib 1.8.67 · d1085f9c

A voice note message

InputMessageVoiceNote(
  voice_note: InputVoiceNote,
  caption: FormattedText,
  self_destruct_type: MessageSelfDestructType
) → InputMessageContent

voice_note

InputVoiceNote

Voice note to be sent

caption

FormattedText

Voice note caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters

self_destruct_type

MessageSelfDestructType

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