Jump to content
McKay Development

Recommended Posts

Hi all,
 
I am trying to send a game invitation friend message using node-steam-user.

 
I am using sendFriendMessage function with EChatEntryType option established as 3 (InviteGame value at https://github.com/DoctorMcKay/node-steam-user/blob/master/enums/EChatEntryType.js)

const SteamUser = require('steam-user');
const client = new SteamUser();
 
client.chat.sendFriendMessage("steam64Id Here", '[lobbyinvite  appid="App Game IdHere" lobbyid="Lobby Id Here"][/lobbyinvite]', {chatEntryType: 3});

The result is that there is no invitation sent in steam chat

 

I supposted to fill the message parameter like that because of im getting the lobbies invitation history chat in that format. I saw all node-steam-user docs and i did not found any tutorial or explain about how to use this function with EChatEntryType as InviteGame value.

 

¿how can i use this function to send a game lobby invitation message to a friend?
 
¿What data and would be the message parameter format in the function?
 
Thanks in advance,

Share this post


Link to post
Share on other sites

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...