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 }
PostReceiptJob::JobResponse PostReceiptResponse
Definition: receipts.hpp:72
SetReadMarkerJob::JobResponse SetReadMarkerResponse
Definition: read_markers.hpp:71
SetTypingJob::JobResponse SetTypingResponse
Definition: typing.hpp:74
Definition: location.hpp:10
ClientResult updateClient(ClientModel m, SetAccountDataPerRoomAction a)
Definition: account-data.cpp:15
std::pair< ClientModel, ClientEffect > ClientResult
Definition: clientfwd.hpp:149
ClientResult processResponse(ClientModel m, SetAccountDataPerRoomResponse r)
Definition: account-data.cpp:23