mtx::http::ThumbOpts struct

Configuration for thumbnail retrieving.

Public variables

uint16_t width
The desired width of the thumbnail.
uint16_t height
The desired height of the thumbnail.
std::string method
The desired resizing method. One of: ["crop", "scale"].
std::string mxc_url
A mxc URI which points to the content.