aboutsummaryrefslogtreecommitdiff
path: root/events/roommessageevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'events/roommessageevent.h')
-rw-r--r--events/roommessageevent.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/events/roommessageevent.h b/events/roommessageevent.h
index af3b6797..7b6394ba 100644
--- a/events/roommessageevent.h
+++ b/events/roommessageevent.h
@@ -20,6 +20,7 @@
#define QMATRIXCLIENT_ROOMMESSAGEEVENT_H
#include <QtCore/QUrl>
+#include <QtCore/QMimeType>
#include "event.h"
@@ -65,6 +66,15 @@ namespace QMatrixClient
namespace MessageEventContent
{
+ class TextContent: public Base
+ {
+ public:
+ TextContent(const QJsonObject& json);
+
+ QMimeType mimeType;
+ QString body;
+ };
+
class ImageContent: public Base
{
public: