diff options
author | George Hazan <george.hazan@gmail.com> | 2023-06-14 17:04:02 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-06-14 17:04:02 +0300 |
commit | 4a07d904cb59d4d9d494df34096d0ecac6d0cf76 (patch) | |
tree | cd62714fb9921a2fa1d44723c5e9ecbc73f1ea44 /protocols/Steam/src/api/message.h | |
parent | 0189e27fd98ad9a8ba9aacd1c5f715e56129167e (diff) |
Steam: first working SendRequest()
Diffstat (limited to 'protocols/Steam/src/api/message.h')
-rw-r--r-- | protocols/Steam/src/api/message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/api/message.h b/protocols/Steam/src/api/message.h index e07e70d959..934bdc875e 100644 --- a/protocols/Steam/src/api/message.h +++ b/protocols/Steam/src/api/message.h @@ -5,7 +5,7 @@ class SendMessageRequest : public HttpRequest {
public:
SendMessageRequest(const char *token, const char *umqId, const char *steamId, const char *text) :
- HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
+ HttpRequest(REQUEST_POST, "/ISteamWebUserPresenceOAuth/Message/v0001")
{
this
<< CHAR_PARAM("access_token", token)
@@ -20,7 +20,7 @@ class SendTypingRequest : public HttpRequest {
public:
SendTypingRequest(const char *token, const char *umqId, const char *steamId) :
- HttpRequest(REQUEST_POST, STEAM_API_URL "/ISteamWebUserPresenceOAuth/Message/v0001")
+ HttpRequest(REQUEST_POST, "/ISteamWebUserPresenceOAuth/Message/v0001")
{
this
<< CHAR_PARAM("access_token", token)
|