aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/banning.h
blob: 0f6eabf8977adc5a86486e064348cf9a9d9704b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/******************************************************************************
 * 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