Video

@Serializable
@SerialName(value = "video")
data class Video(var media: ImplicitFile, var thumbnail: ImplicitFile? = null, val width: Int? = null, val height: Int? = null, val duration: Int? = null, val supportsStreaming: Boolean? = null) : InputPaidMedia

Constructors

Link copied to clipboard
constructor(media: String, thumbnail: ImplicitFile? = null, width: Int? = null, height: Int? = null, duration: Int? = null, supportsStreaming: Boolean? = null)
constructor(media: InputFile, thumbnail: ImplicitFile? = null, width: Int? = null, height: Int? = null, duration: Int? = null, supportsStreaming: Boolean? = null)
constructor(media: ImplicitFile, thumbnail: ImplicitFile? = null, width: Int? = null, height: Int? = null, duration: Int? = null, supportsStreaming: Boolean? = null)

Properties

Link copied to clipboard
val duration: Int? = null
Link copied to clipboard
val height: Int? = null
Link copied to clipboard
open override var media: ImplicitFile
Link copied to clipboard
Link copied to clipboard
open override var thumbnail: ImplicitFile?
Link copied to clipboard
Link copied to clipboard
val width: Int? = null