Skip to content

InputStoryContentVideo

Type · TDLib 1.8.67 · d1085f9c

A video story

InputStoryContentVideo(
  video: InputFile,
  added_sticker_file_ids: list of int32,
  duration: double,
  cover_frame_timestamp: double,
  is_animation: Bool
) → InputStoryContent

video

InputFile

Video to be sent. The video size must be 720x1280. The video must be streamable and stored in MPEG4 format, after encoding with H.265 codec and key frames added each second

added_sticker_file_ids

list of int32

File identifiers of the stickers added to the video, if applicable

duration

double

Precise duration of the video, in seconds; 0-60

cover_frame_timestamp

double

Timestamp of the frame, which will be used as video thumbnail

is_animation

Bool

True, if the video has no sound