Chat Room
Represents a Clan Chat Room
1
public struct ChatRoom
Copied!
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.

Fields and Attributes

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

Methods

Send Message

1
public bool SendMessage(string message);
Copied!
Attempts to send a message to the chat.

Open Chat Window

1
public bool OpenChatWindowInSteam();
Copied!
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.

Leave

1
public void Leave();
Copied!
Leaves the clan chat if the user is in it
Last modified 5mo ago