commonMain.app.bsky.embed.imagesViewImage.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bluesky-jvm Show documentation
Show all versions of bluesky-jvm Show documentation
Bluesky Social API bindings for Kotlin.
The newest version!
@file:Suppress("DEPRECATION")
package app.bsky.embed
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Uri
/**
* @param thumb Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN
* location provided by the App View.
* @param fullsize Fully-qualified URL where a large version of the image can be fetched. May or may
* not be the exact original blob. For example, CDN location provided by the App View.
* @param alt Alt text description of the image, for accessibility.
*/
@Serializable
public data class ImagesViewImage(
/**
* Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location
* provided by the App View.
*/
public val thumb: Uri,
/**
* Fully-qualified URL where a large version of the image can be fetched. May or may not be the
* exact original blob. For example, CDN location provided by the App View.
*/
public val fullsize: Uri,
/**
* Alt text description of the image, for accessibility.
*/
public val alt: String,
public val aspectRatio: AspectRatio? = null,
)