VideoNote

data class VideoNote(file_id: String, file_unique_id: String, length: Long, duration: Long, thumb: PhotoSize?, file_size: Long?) : TelegramModel

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

Constructors

VideoNote
Link copied to clipboard
fun VideoNote(file_id: String, file_unique_id: String, length: Long, duration: Long, thumb: PhotoSize? = null, file_size: Long? = null)
Creates a VideoNote.

Properties

duration
Link copied to clipboard
val duration: Long
Duration of the video in seconds as defined by sender
file_id
Link copied to clipboard
val file_id: String
Identifier for this file, which can be used to download or reuse the file
file_size
Link copied to clipboard
val file_size: Long? = null
Optional.
file_unique_id
Link copied to clipboard
val file_unique_id: String
Unique identifier for this file, which is supposed to be the same over time and for different bots.
length
Link copied to clipboard
val length: Long
Video width and height (diameter of the video message) as defined by sender
thumb
Link copied to clipboard
val thumb: PhotoSize? = null
Optional.