VideoNote

data class VideoNote(val fileId: String, val fileUniqueId: String, val length: Int, val duration: Int, val thumbnail: PhotoSize? = null, val fileSize: Int? = null)(source)

VideoNote

This object represents a video message (available in Telegram apps as of v.4.0).

(auto-generated)

Author

ForteScarlet

Constructors

Link copied to clipboard
constructor(fileId: String, fileUniqueId: String, length: Int, duration: Int, thumbnail: PhotoSize? = null, fileSize: Int? = null)

Properties

Link copied to clipboard

Duration of the video in seconds as defined by sender

Link copied to clipboard
@SerialName(value = "file_id")
val fileId: String

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

Link copied to clipboard
@SerialName(value = "file_size")
val fileSize: Int? = null

Optional. File size in bytes

Link copied to clipboard
@SerialName(value = "file_unique_id")
val fileUniqueId: String

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.

Link copied to clipboard
val length: Int

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

Link copied to clipboard
val thumbnail: PhotoSize? = null

Optional. Video thumbnail