User leaves room. Sets his JoinTime to null, LeaveTime to now, LastModification to now. Etc.
This method also inserts system message about leaving to this room.
Namespace: CMS.ChatAssembly: CMS.Chat (in CMS.Chat.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- roomID
- Type: System Int32
User will be left from this room
- chatUserID
- Type: System Int32
Chat user ID
- 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: System Nullable ChatMessageTypeEnum
Type of leave room system message (typically ChatMessageTypeEnum.LeaveRoom)
See Also