interface ImagePayload

Data for an image to be attached to a post.

Properties

alt?: string

Alt text for the image.

aspectRatio?: { height: number; width: number; }

The image's aspect ratio.

Properties

height: number
width: number

data: Blob | string

The image's data, or a URL leading to an image.