aboutsummaryrefslogtreecommitdiff
path: root/jobs/postmessagejob.h
diff options
context:
space:
mode:
Diffstat (limited to 'jobs/postmessagejob.h')
-rw-r--r--jobs/postmessagejob.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/jobs/postmessagejob.h b/jobs/postmessagejob.h
index eba3da51..14de52f0 100644
--- a/jobs/postmessagejob.h
+++ b/jobs/postmessagejob.h
@@ -25,8 +25,13 @@ namespace QMatrixClient
class PostMessageJob: public BaseJob
{
public:
- PostMessageJob(ConnectionData* connection, QString roomId,
- QString type, QString message);
+ /** Constructs a plain text message job */
+ PostMessageJob(ConnectionData* connection, const QString& roomId,
+ const QString& type, const QString& plainText);
+ /** Constructs a rich text message job */
+ PostMessageJob(ConnectionData* connection, const QString& roomId,
+ const QString& type, const QString& plainText,
+ const QString& richText);
virtual ~PostMessageJob();
//bool success();