libQuotient
A Qt library for building matrix clients
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
csapi
appservice_room_directory.h
Generated by
1.9.1