Video

fun Video(fileId: String, fileUniqueId: String, width: Int, height: Int, duration: Int, thumb: PhotoSize? = null, fileName: String? = null, mimeType: String? = null, fileSize: Int? = null)

Parameters

fileId

Identifier for this file, which can be used to download or reuse the file

fileUniqueId

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

width

Video width as defined by sender

height

Video height as defined by sender

duration

Duration of the video in seconds as defined by sender

thumb

Optional. Video thumbnail

fileName

Optional. Original filename as defined by sender

mimeType

Optional. Mime type of a file as defined by sender

fileSize

Optional. File size