libQuotient
A Qt library for building matrix clients
receipts.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 Send a receipt for the given event ID.
10
//!
11
//! This API updates the marker for the given receipt type to the event ID
12
//! specified.
13
class
QUOTIENT_API
PostReceiptJob :
public
BaseJob {
14
public
:
15
//! \param roomId
16
//! The room in which to send the event.
17
//!
18
//! \param receiptType
19
//! The type of receipt to send. This can also be `m.fully_read` as an
20
//! alternative to
21
//! [`/read_markers`](/client-server-api/#post_matrixclientv3roomsroomidread_markers).
22
//!
23
//! Note that `m.fully_read` does not appear under `m.receipt`: this endpoint
24
//! effectively calls `/read_markers` internally when presented with a receipt
25
//! type of `m.fully_read`.
26
//!
27
//! \param eventId
28
//! The event ID to acknowledge up to.
29
//!
30
//! \param threadId
31
//! The root thread event's ID (or `main`) for which
32
//! thread this receipt is intended to be under. If
33
//! not specified, the read receipt is *unthreaded*
34
//! (default).
35
explicit
PostReceiptJob(
const
QString& roomId,
const
QString& receiptType,
36
const
QString& eventId,
const
QString& threadId = {});
37
};
38
39
}
// namespace Quotient
Quotient
csapi
receipts.h
Generated by
1.9.1