Skip to content

Video

Type · TDLib 1.8.67 · d1085f9c

Describes a video file

Video(
  duration: int32,
  width: int32,
  height: int32,
  file_name: string,
  mime_type: string,
  has_stickers: Bool,
  supports_streaming: Bool,
  minithumbnail: Minithumbnail,
  thumbnail: Thumbnail,
  video: File
) → Video

duration

int32

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

width

int32

Video width; as defined by the sender

height

int32

Video height; as defined by the sender

file_name

string

Original name of the file; as defined by the sender

mime_type

string

MIME type of the file; as defined by the sender

has_stickers

Bool

True, if stickers were added to the video. The list of corresponding sticker sets can be received using getAttachedStickerSets

supports_streaming

Bool

True, if the video is expected to be streamed

minithumbnail

Minithumbnail

Video minithumbnail; may be null

thumbnail

Thumbnail

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

video

File

File containing the video