mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-20 12:52:06 +03:00
25 lines
460 B
C
25 lines
460 B
C
|
#pragma once
|
||
|
|
||
|
#include <QtCore>
|
||
|
#include <QPointer>
|
||
|
|
||
|
namespace OCC {
|
||
|
class AccountState;
|
||
|
|
||
|
class TalkReply : public QObject
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit TalkReply(AccountState *accountState, QObject *parent = nullptr);
|
||
|
|
||
|
void sendReplyMessage(const QString &conversationToken, const QString &message, const QString &replyTo = {});
|
||
|
|
||
|
signals:
|
||
|
void replyMessageSent(const QString &message);
|
||
|
|
||
|
private:
|
||
|
AccountState *_accountState = nullptr;
|
||
|
};
|
||
|
}
|