InputPaidMedia

@Serializable
sealed class InputPaidMedia : ImplicitMediaData

Inheritors

Types

Link copied to clipboard
@Serializable
@SerialName(value = "photo")
data class Photo(var media: ImplicitFile) : InputPaidMedia
Link copied to clipboard
@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

Properties

Link copied to clipboard
abstract var media: ImplicitFile
Link copied to clipboard
Link copied to clipboard