mtx::events::msg::Text struct

Content of m.room.message with msgtype m.text.

Public variables

std::string body
The body of the message.
std::string msgtype
Must be 'm.text'.
std::string format
We only handle org.matrix.custom.html.
std::string formatted_body
HTML formatted message.
mtx::common::Relations relations
Relates to for rich replies.
std::optional<mtx::common::Mentions> mentions
Mentioned users by this event.