summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/api/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/api/message.h')
-rw-r--r--protocols/Steam/src/api/message.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/protocols/Steam/src/api/message.h b/protocols/Steam/src/api/message.h
deleted file mode 100644
index 934bdc875e..0000000000
--- a/protocols/Steam/src/api/message.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef _STEAM_REQUEST_MESSAGE_H_
-#define _STEAM_REQUEST_MESSAGE_H_
-
-class SendMessageRequest : public HttpRequest
-{
-public:
- 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);
- }
-};
-
-class SendTypingRequest : public HttpRequest
-{
-public:
- 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_