/****************************************************************************** * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN */ #pragma once #include "jobs/basejob.h" namespace Quotient { /*! \brief Reports an event as inappropriate. * * Reports an event as inappropriate to the server, which may then notify * the appropriate people. */ class QUOTIENT_API ReportContentJob : public BaseJob { public: /*! \brief Reports an event as inappropriate. * * \param roomId * The room in which the event being reported is located. * * \param eventId * The event to report. * * \param score * The score to rate this content as where -100 is most offensive * and 0 is inoffensive. * * \param reason * The reason the content is being reported. May be blank. */ explicit ReportContentJob(const QString& roomId, const QString& eventId, Omittable score = none, const QString& reason = {}); }; } // namespace Quotient ository; edit this file 'description' to name the repository.Nicolas Peugnet
aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/notifications.h
blob: 4edb9c3e8bc6a43bc82cbd8e7bea9cf3e7670004 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89