ImageUrl

@SerialName(value = "image_url")
data class ImageUrl(val type: String = "image_url", val imageUrl: ImageUrlObject) : ContentPart(source)

Image URL content part.

Constructors

Link copied to clipboard
constructor(type: String = "image_url", imageUrl: ImageUrlObject)

Properties

Link copied to clipboard
@SerialName(value = "image_url")
val imageUrl: ImageUrlObject

The image URL object containing the URL and optional detail level.

Link copied to clipboard

The type of content, always "image_url".