-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Take over steam chat, User to user messaging #427
Comments
You can already send messages to users using https://steam.readthedocs.io/en/stable/api/steam.client.user.html#steam.client.user.SteamUser.send_message and you can receive them by listening for the EVENT_CHAT_MESSAGE event with client.on |
|
You aren't meant to construct the class yourself, you are meant to use SteamClient.get_user to get user instances as suggested by the docstring |
OMG, I still don't know what the second parameter ‘’steam‘’ is in classes SteamUser (steam_id, steam)。 i think the parameter 'steam' s something with my account identity...but how to get it.. Can you give me a sample code?ty very much |
It's in p.s you should probably make this a discussion |
Taking over Steam chat and realizing the reception and transmission of Steam messages.
Here you can get all the socket addresses for Steamchat: https://api.steampowered.com/ISteamDirectory/GetCMList/v1/?cellid=0
Here you can get information about the currently logged-in account: https://steamcommunity.com/chat/clientjstoken
Finally, connect them together to realize the reception and transmission of messages.
The text was updated successfully, but these errors were encountered: