class EmbedImage

Represents an image embedded in a post.

Constructor

constructor(data)

Parameters

data: ImageData

The image data.

Properties

cid: string

The image's CID.

alt: string

The image's alt text.

mimeType: string

The image's MIME type.

size: number

Image size in bytes.

aspectRatio?: AppBskyEmbedImages.AspectRatio

The image's aspect ratio.