Jump to content
McKay Development

Recommended Posts

  • 2 weeks later...
Posted

You'll probably need to wait until steam-user 3 comes out (whenever that happens, I don't have a timeframe yet) which adds official support for new chat.

When will it happen ? Or can you tell me how need to do it ?

I think that i need to connect to steamchat via websocket ?

Posted

I meant v4.

 

You could install it directly from Git if you wanted, but I haven't yet written docs for new chat support. The new code is here. To call getGroups for example, you'd do user.chat.getGroups(...)

How can i install directly from git ?

  • 2 weeks later...
Posted

Download it and drop it into node_modules.

 

How to install and start using v4?
 
I downloaded v4.zip archive,

extracted folder "node-steam-user-4" in my "node_modules"

and changed SteamUser = require("steam-user"), to SteamUser = require("node-steam-user-4"),

 
When I start, I get:

Error: Cannot find module 'protobufjs/minimal'

Posted

You need to go into that node-steam-user-4 folder and run npm install

 

Thanks. 

 

But even using v4,

client.chatMessage(tsid, "https://help.steampowered.com/en/accountdata/SteamLoginHistory");

still gives a simple text link.

other (images, emoticons, /pre /quote /code etc.) don't work either :(

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...