InputPollMediaVideo

Properties

fileName?: string

The file name to assign if applicable.

mimeType?: string

The MIME type to assign if applicable.

chunkSize?: number

Size of each upload chunk in bytes.

signal?: AbortSignal

Upload abort signal.

type: "video"
video: FileSource

The video.

thumbnail?: FileSource

A thumbnail to assign. Cannot be a URL.

duration?: number

The duration of the video in seconds.

width?: number

The width of the video in pixels.

height?: number

The height of the video in pixels.

isStreamingSupported?: boolean

Whether the video is suitable for streaming.

isSpoiler?: boolean

Whether to mark the media as a spoiler.