Animation

@Serializable
@SerialName(value = "animation")
data class Animation(var media: ImplicitFile, var thumbnail: ImplicitFile? = null, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val width: Int? = null, val height: Int? = null, val duration: Int? = null, val hasSpoiler: Boolean? = null, val showCaptionAboveMedia: Boolean? = null) : InputMedia

Constructors

Link copied to clipboard
constructor(media: String, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, width: Int? = null, height: Int? = null, duration: Int? = null, hasSpoiler: Boolean? = null, showCaptionAboveMedia: Boolean? = null)
constructor(media: InputFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, width: Int? = null, height: Int? = null, duration: Int? = null, hasSpoiler: Boolean? = null, showCaptionAboveMedia: Boolean? = null)
constructor(media: ImplicitFile, thumbnail: ImplicitFile? = null, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, width: Int? = null, height: Int? = null, duration: Int? = null, hasSpoiler: Boolean? = null, showCaptionAboveMedia: Boolean? = null)

Properties

Link copied to clipboard
val caption: String? = null
Link copied to clipboard
Link copied to clipboard
val duration: Int? = null
Link copied to clipboard
val hasSpoiler: Boolean? = null
Link copied to clipboard
val height: Int? = null
Link copied to clipboard
open override var media: ImplicitFile
Link copied to clipboard
val parseMode: ParseMode? = null
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