libkazv
ephemeral.hpp
Go to the documentation of this file.
1 /*
2  * This file is part of libkazv.
3  * SPDX-FileCopyrightText: 2020 Tusooa Zhu <tusooa@kazv.moe>
4  * SPDX-License-Identifier: AGPL-3.0-or-later
5  */
6 
7 #pragma once
8 #include <libkazv-config.hpp>
9 
10 #include <csapi/typing.hpp>
11 #include <csapi/receipts.hpp>
12 #include <csapi/read_markers.hpp>
13 
14 #include "client-model.hpp"
15 
16 namespace Kazv
17 {
18  ClientResult updateClient(ClientModel m, SetTypingAction a);
20  ClientResult updateClient(ClientModel m, PostReceiptAction a);
22  ClientResult updateClient(ClientModel m, SetReadMarkerAction a);
24 }
read_markers.hpp
Kazv::Api::PostReceiptResponse
PostReceiptJob::JobResponse PostReceiptResponse
Definition: receipts.hpp:74
Kazv::updateClient
ClientResult updateClient(ClientModel m, SetAccountDataPerRoomAction a)
Definition: account-data.cpp:15
receipts.hpp
Kazv
Definition: location.hpp:10
client-model.hpp
Kazv::Api::SetTypingResponse
SetTypingJob::JobResponse SetTypingResponse
Definition: typing.hpp:76
Kazv::processResponse
ClientResult processResponse(ClientModel m, SetAccountDataPerRoomResponse r)
Definition: account-data.cpp:23
Kazv::ClientResult
std::pair< ClientModel, ClientEffect > ClientResult
Definition: clientfwd.hpp:149
typing.hpp
Kazv::Api::SetReadMarkerResponse
SetReadMarkerJob::JobResponse SetReadMarkerResponse
Definition: read_markers.hpp:73
libkazv-config.hpp