VideoNote

fun VideoNote(fileId: String, fileUniqueId: String, length: Int, duration: Int, thumb: PhotoSize? = 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.

length

Video width and height (diameter of the video message) as defined by sender

duration

Duration of the video in seconds as defined by sender

thumb

Optional. Video thumbnail

fileSize

Optional. File size