From 0646408f9e47b85b304133a46b68311c8a486d6e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Dec 2024 18:18:45 +0300 Subject: fixes #4800 (Steam: cannot send/receive messages) + obsolete message sending code removed --- protocols/Steam/src/api/message.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 protocols/Steam/src/api/message.h (limited to 'protocols/Steam/src/api') diff --git a/protocols/Steam/src/api/message.h b/protocols/Steam/src/api/message.h deleted file mode 100644 index 5f41876a15..0000000000 --- a/protocols/Steam/src/api/message.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _STEAM_REQUEST_MESSAGE_H_ -#define _STEAM_REQUEST_MESSAGE_H_ - -struct SendMessageRequest : public HttpRequest -{ - SendMessageRequest(const char *token, const char *umqId, const char *steamId, const char *text) : - HttpRequest(REQUEST_POST, "/ISteamWebUserPresenceOAuth/Message/v0001") - { - this << CHAR_PARAM("access_token", token) << CHAR_PARAM("umqid", umqId) << CHAR_PARAM("steamid_dst", steamId) - << CHAR_PARAM("type", "saytext") << CHAR_PARAM("text", text); - } -}; - -struct SendTypingRequest : public HttpRequest -{ - SendTypingRequest(const char *token, const char *umqId, const char *steamId) : - HttpRequest(REQUEST_POST, "/ISteamWebUserPresenceOAuth/Message/v0001") - { - this << CHAR_PARAM("access_token", token) << CHAR_PARAM("umqid", umqId) << CHAR_PARAM("steamid_dst", steamId) << CHAR_PARAM("type", "typing"); - } -}; - -#endif //_STEAM_REQUEST_MESSAGE_H_ -- cgit v1.2.3