Jump to content


Photo
Discussion

getGroups(callback): wrong response

node.js node-steam-user

Best Answer Dr. McKay , 01 May 2019 - 02:08 PM

You're right, the docs are wrong. I've fixed it.

 

There is no way to retrieve the list of members in a chat room group, so I've added a method for how the Steam client does it.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 roughnecks

roughnecks

    Advanced Member

  • Member
  • PipPipPip
  • 58 posts

Posted 01 May 2019 - 09:51 AM

Hi.

 

I was trying to get group's members list by calling "getGroups" and I was expecting to have Chat Room Group State object in response, which in turn should contain 

  • members - An array of Chat Room Member but all I got was "User Chat Room Group State".
    group_state:
     { user_chat_room_state: [Array],
       chat_group_id: '4817935',
       time_joined: 2019-03-12T22:26:00.000Z,
       desktop_notification_level: 0,
       mobile_notification_level: 0,
       time_last_group_ack: 2019-05-01T12:09:46.000Z,
       unread_indicator_muted: false } } ]

So, I just don't know but something is wrong here. If it's the DOC wrong, how am I supposed to get members list apart from "joinGroup"?

 

Thanks as always.

 

 



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,070 posts

Posted 01 May 2019 - 02:08 PM   Best Answer

You're right, the docs are wrong. I've fixed it.

 

There is no way to retrieve the list of members in a chat room group, so I've added a method for how the Steam client does it.



#3 roughnecks

roughnecks

    Advanced Member

  • Member
  • PipPipPip
  • 58 posts

Posted 01 May 2019 - 02:19 PM

Great!  ;)  







Also tagged with one or more of these keywords: Discussion, node.js, node-steam-user

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users