diff options
Diffstat (limited to 'lib/csapi/banning.h')
-rw-r--r-- | lib/csapi/banning.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/csapi/banning.h b/lib/csapi/banning.h new file mode 100644 index 00000000..5d9bae2b --- /dev/null +++ b/lib/csapi/banning.h @@ -0,0 +1,26 @@ +/****************************************************************************** + * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN + */ + +#pragma once + +#include "jobs/basejob.h" + + + +namespace QMatrixClient +{ + // Operations + + class BanJob : public BaseJob + { + public: + explicit BanJob(const QString& roomId, const QString& userId, const QString& reason = {}); + }; + + class UnbanJob : public BaseJob + { + public: + explicit UnbanJob(const QString& roomId, const QString& userId); + }; +} // namespace QMatrixClient |