Chat Room
Represents a Clan Chat Room
Support us as a GitHub Sponsor and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude.
These articles are made possible by our GitHub Sponsors ... become a sponsor today!
public struct ChatRoom
The clan chat room structure is used by chat specific features of the Clans interface and is its self a shortcut to the most common chat features.
Type | Name | Comment |
---|---|---|
Clan | clan | The clan this room belongs to |
CSteamID | id | The id of the room |
EChatRoomEnterResponse | enterResponce | The responce from Steam when the user attempted to enter the room if any |
UserData[] | Members | The list of chat members, note client interface cannot iterate the full list of large clans |
bool | IsOpenInSteam | Check if the chat is open in Steam UI |
public bool SendMessage(string message);
Attempts to send a message to the chat.
public bool OpenChatWindowInSteam();
Opens the clan chat in the Steam UI ... this is generally recomended especially for large clans as opposed to creating an in game clan chat.
public void Leave();
Leaves the clan chat if the user is in it
Last modified 1mo ago