mtx::responses::OGImage struct

Represents an OpenGraph og:image.

Public variables

std::optional<std::string> type
MIME type of the media.
std::optional<std::int32_t> width
The number of pixels wide.
std::optional<std::int32_t> height
The number of pixels high.
std::optional<std::string> alt
A description of the media.
std::string url
mxc:// URI of the media
std::uint64_t size
Byte size of the og:image.