Skip to content

VideoNote

Type · TDLib 1.8.67 · d1085f9c

Describes a video note. The video must be equal in width and height, cropped to a circle, and stored in MPEG4 format

VideoNote(
  duration: int32,
  waveform: bytes,
  length: int32,
  minithumbnail: Minithumbnail,
  thumbnail: Thumbnail,
  speech_recognition_result: SpeechRecognitionResult,
  video: File
) → VideoNote

duration

int32

Duration of the video, in seconds; as defined by the sender

waveform

bytes

A waveform representation of the video note's audio in 5-bit format; may be empty if unknown

length

int32

Video width and height; as defined by the sender

minithumbnail

Minithumbnail

Video minithumbnail; may be null

thumbnail

Thumbnail

Video thumbnail in JPEG format; as defined by the sender; may be null

speech_recognition_result

SpeechRecognitionResult

Result of speech recognition in the video note; may be null

video

File

File containing the video