Cleans inactive (not pinging) users.
            
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- inactiveForSeconds
 - Type: 
System Int32
Seconds of inactivity needed to clean user. 
- leaveSystemMessageFormat
 - Type: 
System String
Format of system message. Placeholder {nickname} will be replaced by actual user's nickname. If null system message won't be inserted. 
- leaveSystemMessageType
 - Type: CMS.Chat ChatMessageTypeEnum
Type of leave room system message (typically ChatMessageTypeEnum.LeaveRoom) 
Return Value
Type:Number of cleaned users
See Also