Get also the one and only message in a chat (hopefully no side-effects...)
This commit is contained in:
parent
5f67e28f45
commit
2869a99cbc
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ public:
|
||||||
Q_INVOKABLE void closeChat(const QString &chatId);
|
Q_INVOKABLE void closeChat(const QString &chatId);
|
||||||
Q_INVOKABLE void joinChat(const QString &chatId);
|
Q_INVOKABLE void joinChat(const QString &chatId);
|
||||||
Q_INVOKABLE void leaveChat(const QString &chatId);
|
Q_INVOKABLE void leaveChat(const QString &chatId);
|
||||||
Q_INVOKABLE void getChatHistory(qlonglong chatId, const qlonglong &fromMessageId = 0, int offset = 0, int limit = 50, bool onlyLocal = false);
|
Q_INVOKABLE void getChatHistory(qlonglong chatId, const qlonglong &fromMessageId = 0, int offset = -1, int limit = 50, bool onlyLocal = false);
|
||||||
Q_INVOKABLE void viewMessage(const QString &chatId, const QString &messageId, bool force);
|
Q_INVOKABLE void viewMessage(const QString &chatId, const QString &messageId, bool force);
|
||||||
Q_INVOKABLE void pinMessage(const QString &chatId, const QString &messageId, bool disableNotification = false);
|
Q_INVOKABLE void pinMessage(const QString &chatId, const QString &messageId, bool disableNotification = false);
|
||||||
Q_INVOKABLE void unpinMessage(const QString &chatId);
|
Q_INVOKABLE void unpinMessage(const QString &chatId);
|
||||||
|
|
Loading…
Reference in a new issue