From 9b2ce7538d28529f3c47e713779e4b0ae7b6aaf1 Mon Sep 17 00:00:00 2001 From: link2xt Date: Wed, 28 Jul 2021 10:41:54 +0300 Subject: Add New Chat page --- context.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'context.h') diff --git a/context.h b/context.h index e183699..235bd28 100644 --- a/context.h +++ b/context.h @@ -27,6 +27,7 @@ public: Q_INVOKABLE void stopIo(); Q_INVOKABLE void maybeNetwork(); Q_INVOKABLE DcChatlist *getChatlist(int flags); + Q_INVOKABLE uint32_t createChatByContactId(uint32_t contactId); Q_INVOKABLE void setChatVisibility(uint32_t chatId, int visibility); Q_INVOKABLE void deleteChat(uint32_t chatId); Q_INVOKABLE void blockChat(uint32_t chatId); @@ -34,6 +35,7 @@ public: Q_INVOKABLE QString getChatEncrinfo(uint32_t chatId); Q_INVOKABLE uint32_t getChatEphemeralTimer(uint32_t chatId); Q_INVOKABLE DcChat *getChat(uint32_t chatId); + Q_INVOKABLE QVariantList getContacts(uint32_t flags, QString query); Q_INVOKABLE QVariantList getMsgIdList(uint32_t chatId); Q_INVOKABLE int getFreshMsgCnt(uint32_t chatId); Q_INVOKABLE void marknoticedChat(uint32_t chatId); -- cgit v1.2.3-54-g00ecf