Cleans inactive (not pinging) users.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)
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: Int32Number of cleaned users
See Also