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
list_joined_rooms.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 Lists the user's current rooms.
10
//!
11
//! This API returns a list of the user's current rooms.
12
class
QUOTIENT_API
GetJoinedRoomsJob
:
public
BaseJob
{
13
public
:
14
explicit
GetJoinedRoomsJob
();
15
16
//! \brief Construct a URL without creating a full-fledged job object
17
//!
18
//! This function can be used when a URL for GetJoinedRoomsJob
19
//! is necessary but the job itself isn't.
20
static
QUrl
makeRequestUrl
(
const
HomeserverData
&
hsData
);
21
22
// Result properties
23
24
//! The ID of each room in which the user has `joined` membership.
25
QStringList
joinedRooms
()
const
{
return
loadFromJson
<
QStringList
>(
"joined_rooms"_L1
); }
26
};
27
28
inline
auto
collectResponse
(
const
GetJoinedRoomsJob* job) {
return
job->joinedRooms(); }
29
30
}
// namespace Quotient
Quotient::GetJoinedRoomsJob
Lists the user's current rooms.
Definition
list_joined_rooms.h:12
Quotient
Definition
accountregistry.h:13
Quotient::collectResponse
auto collectResponse(const GetAccountDataJob *job)
Definition
account-data.h:59
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
csapi
list_joined_rooms.h
Generated by
1.9.8