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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Steam/src/api/message.h b/protocols/Steam/src/api/message.h
index eee4c43b28..e07e70d959 100644
--- a/protocols/Steam/src/api/message.h
+++ b/protocols/Steam/src/api/message.h
@@ -5,9 +5,9 @@ class SendMessageRequest : public HttpRequest
{
public:
SendMessageRequest(const char *token, const char *umqId, const char *steamId, const char *text) :
- HttpRequest(HttpPost, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
+ HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
{
- Content = new FormUrlEncodedContent(this)
+ this
<< CHAR_PARAM("access_token", token)
<< CHAR_PARAM("umqid", umqId)
<< CHAR_PARAM("steamid_dst", steamId)
@@ -20,9 +20,9 @@ class SendTypingRequest : public HttpRequest
{
public:
SendTypingRequest(const char *token, const char *umqId, const char *steamId) :
- HttpRequest(HttpPost, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
+ HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
{
- Content = new FormUrlEncodedContent(this)
+ this
<< CHAR_PARAM("access_token", token)
<< CHAR_PARAM("umqid", umqId)
<< CHAR_PARAM("steamid_dst", steamId)