1 | /****************************************************************************** |
2 | * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN |
3 | */ |
4 | |
5 | #pragma once |
6 | |
7 | #include <Quotient/jobs/basejob.h> |
8 | |
9 | namespace Quotient { |
10 | |
11 | /*! \brief Reports an event as inappropriate. |
12 | * |
13 | * Reports an event as inappropriate to the server, which may then notify |
14 | * the appropriate people. |
15 | */ |
16 | class QUOTIENT_API ReportContentJob : public BaseJob { |
17 | public: |
18 | /*! \brief Reports an event as inappropriate. |
19 | * |
20 | * \param roomId |
21 | * The room in which the event being reported is located. |
22 | * |
23 | * \param eventId |
24 | * The event to report. |
25 | * |
26 | * \param score |
27 | * The score to rate this content as where -100 is most offensive |
28 | * and 0 is inoffensive. |
29 | * |
30 | * \param reason |
31 | * The reason the content is being reported. May be blank. |
32 | */ |
33 | explicit ReportContentJob(const QString& roomId, const QString& eventId, |
34 | Omittable<int> score = none, |
35 | const QString& reason = {}); |
36 | }; |
37 | |
38 | } // namespace Quotient |
39 | |