struct
#include <include/mtx/events/common.hpp>
FileInfo Metadata about a file.
Public variables
- uint64_t size
- The size of the file in bytes.
- ThumbnailInfo thumbnail_info
- Metadata about the image referred to in
thumbnail_url
. - std::string thumbnail_url
- The URL to the thumbnail of the file.
- std::string mimetype
- The mimetype of the file e.g
application/pdf
. -
std::optional<crypto::
EncryptedFile> thumbnail_file - Encryption members. If present, they replace thumbnail_url.