libQuotient
A Qt library for building matrix clients
Loading...
Searching...
No Matches
directchatevent.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2018 Kitsune Ral <kitsune-ral@users.sf.net>
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include "event.h"
7
8namespace Quotient {
9class QUOTIENT_API DirectChatEvent : public Event {
10public:
11 QUO_EVENT(DirectChatEvent, "m.direct")
12
13 using Event::Event;
14
15 QMultiHash<QString, QString> usersToDirectChats() const;
16};
17} // namespace Quotient
#define QUO_EVENT(CppType_, MatrixType_)
Supply event metatype information in (specific) event types.
Definition event.h:436
#define QUOTIENT_API