struct
FileContent of m.room.message
with msgtype m.file
.
Public variables
- std::string body
- A human-readable description of the file.
- std::string filename
- The original filename of the uploaded file.
- std::string msgtype
- Must be 'm.file'.
- std::string url
- The matrix URL of the file.
-
mtx::
common:: FileInfo info - Information about the file referred to in the url.
-
std::optional<crypto::
EncryptedFile> file - Encryption members. If present, they replace url.
-
mtx::
common:: Relations relations - Relates to for rich replies.
-
std::optional<mtx::
common:: Mentions> mentions - Mentioned users by this event.
Variable documentation
std::string mtx:: events:: msg:: File:: body
A human-readable description of the file.
This is recommended to be the filename of the original upload.
std::string mtx:: events:: msg:: File:: filename
The original filename of the uploaded file.
SPEC_BUG: The filename is not really required.