diff options
author | George Hazan <ghazan@miranda.im> | 2020-12-22 17:21:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-12-22 17:21:56 +0300 |
commit | 70eb950138df0d3574695cfe7939d4c9b4ea2b9e (patch) | |
tree | e45f8bbaa7c63ccc88ac13a94afb87c740558e34 /protocols/SkypeWeb/src/requests | |
parent | 1f46c15ee7098125e34f5bc53a13c284211ef645 (diff) |
SkypeWeb: request to delete conversations
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r-- | protocols/SkypeWeb/src/requests/chatrooms.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h index b8f6f48c82..f60831213c 100644 --- a/protocols/SkypeWeb/src/requests/chatrooms.h +++ b/protocols/SkypeWeb/src/requests/chatrooms.h @@ -76,6 +76,15 @@ struct CreateChatroomRequest : public AsyncHttpRequest }
};
+struct DestroyChatroomRequest : public AsyncHttpRequest
+{
+ DestroyChatroomRequest(const char *room_id) :
+ AsyncHttpRequest(REQUEST_DELETE, HOST_DEFAULT)
+ {
+ m_szUrl.AppendFormat("/users/ME/conversations/%s/messages", room_id);
+ }
+};
+
struct GetChatInfoRequest : public AsyncHttpRequest
{
GetChatInfoRequest(const wchar_t *chatId) :
|