libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
read_markers.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 Set the position of the read marker for a room.
10
//!
11
//! Sets the position of the read marker for a given room, and optionally
12
//! the read receipt's location.
13
class
QUOTIENT_API
SetReadMarkerJob
:
public
BaseJob
{
14
public
:
15
//! \param roomId
16
//! The room ID to set the read marker in for the user.
17
//!
18
//! \param fullyRead
19
//! The event ID the read marker should be located at. The
20
//! event MUST belong to the room.
21
//!
22
//! \param read
23
//! The event ID to set the read receipt location at. This is
24
//! equivalent to calling `/receipt/m.read/$elsewhere:example.org`
25
//! and is provided here to save that extra call.
26
//!
27
//! \param readPrivate
28
//! The event ID to set the *private* read receipt location at. This
29
//! equivalent to calling `/receipt/m.read.private/$elsewhere:example.org`
30
//! and is provided here to save that extra call.
31
explicit
SetReadMarkerJob
(
const
QString
&
roomId
,
const
QString
&
fullyRead
= {},
32
const
QString
&
read
= {},
const
QString
&
readPrivate
= {});
33
};
34
35
}
// namespace Quotient
Quotient::SetReadMarkerJob
Set the position of the read marker for a room.
Definition
read_markers.h:13
Quotient
Definition
accountregistry.h:13
QUOTIENT_API
#define QUOTIENT_API
Definition
quotient_export.h:22
Quotient
csapi
read_markers.h
Generated by
1.9.8