libQuotient
A Qt library for building matrix clients
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
a
b
c
d
e
f
g
h
i
j
l
m
o
p
q
r
s
t
u
v
z
Variables
a
b
c
d
e
f
h
i
j
l
m
n
o
p
q
r
s
t
u
Typedefs
a
b
c
d
e
f
i
k
l
m
o
q
r
s
t
u
v
Enumerations
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Typedefs
a
c
d
e
f
g
h
i
m
p
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Properties
a
c
d
e
f
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Related Symbols
Files
File List
File Members
All
Functions
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
Concepts
Loading...
Searching...
No Matches
appservice_room_directory.h
Go to the documentation of this file.
1
// THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
2
3
#
pragma
once
4
5
#
include
<
Quotient
/
jobs
/
basejob
.
h
>
6
7
namespace
Quotient
{
8
9
//! \brief Updates a room's visibility in the application service's room directory.
10
//!
11
//! Updates the visibility of a given room on the application service's room
12
//! directory.
13
//!
14
//! This API is similar to the room directory visibility API used by clients
15
//! to update the homeserver's more general room directory.
16
//!
17
//! This API requires the use of an application service access token (`as_token`)
18
//! instead of a typical client's access_token. This API cannot be invoked by
19
//! users who are not identified as application services.
20
class
QUOTIENT_API
UpdateAppserviceRoomDirectoryVisibilityJob
:
public
BaseJob
{
21
public
:
22
//! \param networkId
23
//! The protocol (network) ID to update the room list for. This would
24
//! have been provided by the application service as being listed as
25
//! a supported protocol.
26
//!
27
//! \param roomId
28
//! The room ID to add to the directory.
29
//!
30
//! \param visibility
31
//! Whether the room should be visible (public) in the directory
32
//! or not (private).
33
explicit
UpdateAppserviceRoomDirectoryVisibilityJob
(
const
QString
&
networkId
,
34
const
QString
&
roomId
,
35
const
QString
&
visibility
);
36
};
37
38
}
// namespace Quotient
Quotient::UpdateAppserviceRoomDirectoryVisibilityJob
Updates a room's visibility in the application service's room directory.
Definition
appservice_room_directory.h:20
Quotient
Definition
accountregistry.h:13
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
csapi
appservice_room_directory.h
Generated by
1.9.8