diff options
author | George Hazan <george.hazan@gmail.com> | 2024-12-14 18:18:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-12-14 18:18:45 +0300 |
commit | 0646408f9e47b85b304133a46b68311c8a486d6e (patch) | |
tree | 8789d2ceb25858f23597a2a721121dddcdbeabc3 /protocols/Steam/src/api/message.h | |
parent | 618867f49577c3ec0086084ebbafd5ed734c6143 (diff) |
fixes #4800 (Steam: cannot send/receive messages) + obsolete message sending code removed
Diffstat (limited to 'protocols/Steam/src/api/message.h')
-rw-r--r-- | protocols/Steam/src/api/message.h | 23 |
1 files changed, 0 insertions, 23 deletions
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_
|