Jump to content


Photo
Question

Chat InviteGame message

node.js node-steam-user chat sendfriendmessage invitegame

  • Please log in to reply
1 reply to this topic

#1 Jkune

Jkune

    Newbie

  • Member
  • Pip
  • 1 posts

Posted 23 June 2019 - 03:26 PM

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/D...hatEntryType.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,



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,212 posts

Posted 24 June 2019 - 02:34 PM

This isn't how you send a lobby invite. You need to use a separate kind of command which I don't believe is implemented in steam-user at this time.







Also tagged with one or more of these keywords: Question, node.js, node-steam-user, chat, sendfriendmessage, invitegame

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users