Skip to content
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

SteamID, GroupID.. #451

Closed
Rottweiler opened this issue Sep 8, 2017 · 1 comment
Closed

SteamID, GroupID.. #451

Rottweiler opened this issue Sep 8, 2017 · 1 comment
Labels

Comments

@Rottweiler
Copy link

How can I get the name of the group I'm chatting in? Do you have to somehow translate ChatID to GroupID?

@yaakov-h
Copy link
Member

yaakov-h commented Sep 8, 2017

You can translate between a chat SteamID and a "clan" (group) SteamID fairly directly. See SteamFriends.JoinChat for an example of clan-to-chat. For the other way around, reverse the formula.

We should probably add helper methods to SteamID for this.

Note that you can only do this with group chats for a clan. Ad-hoc group chats (i.e. just adding more users into a regular chat) cannot be translated to a clan/group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants