Skip to content

StoryVideo

Type · TDLib 1.8.67 · d1085f9c

Describes a video file posted as a story

StoryVideo(
  duration: double,
  width: int32,
  height: int32,
  has_stickers: Bool,
  is_animation: Bool,
  minithumbnail: Minithumbnail,
  thumbnail: Thumbnail,
  preload_prefix_size: int32,
  cover_frame_timestamp: double,
  video: File
) → StoryVideo

duration

double

Duration of the video, in seconds

width

int32

Video width

height

int32

Video height

has_stickers

Bool

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

is_animation

Bool

True, if the video has no sound

minithumbnail

Minithumbnail

Video minithumbnail; may be null

thumbnail

Thumbnail

Video thumbnail in JPEG or MPEG4 format; may be null

preload_prefix_size

int32

Size of file prefix, which is expected to be preloaded, in bytes

cover_frame_timestamp

double

Timestamp of the frame used as video thumbnail

video

File

File containing the video