Photo

@Serializable
@SerialName(value = "photo")
data class Photo(var media: ImplicitFile, val caption: String? = null, val parseMode: ParseMode? = null, val captionEntities: List<MessageEntity>? = null, val hasSpoiler: Boolean? = null, val showCaptionAboveMedia: Boolean? = null) : InputMedia

Constructors

Link copied to clipboard
constructor(media: String, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, hasSpoiler: Boolean? = null, showCaptionAboveMedia: Boolean? = null)
constructor(media: InputFile, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = null, hasSpoiler: Boolean? = null, showCaptionAboveMedia: Boolean? = null)
constructor(media: ImplicitFile, caption: String? = null, parseMode: ParseMode? = null, captionEntities: List<MessageEntity>? = 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 hasSpoiler: Boolean? = 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
Link copied to clipboard