Skip to content

InputVideo

Type · TDLib 1.8.67 · d1085f9c

A video to be sent

InputVideo(
  video: InputFile,
  thumbnail: InputThumbnail,
  cover: InputFile,
  start_timestamp: int32,
  added_sticker_file_ids: list of int32,
  duration: int32,
  width: int32,
  height: int32,
  supports_streaming: Bool
) → InputVideo

video

InputFile

Video file to be sent. The video is expected to be re-encoded to MPEG4 format with H.264 codec by the sender

thumbnail

InputThumbnail

Video thumbnail; pass null to skip thumbnail uploading

cover

InputFile

Cover of the video; pass null to skip cover uploading; not supported in secret chats and for self-destructing messages

start_timestamp

int32

Timestamp from which the video playing must start, in seconds

added_sticker_file_ids

list of int32

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

duration

int32

Duration of the video, in seconds

width

int32

Video width

height

int32

Video height

supports_streaming

Bool

True, if the video is expected to be streamed