Click or drag to resize
ChatFloodProtectorCheckOperation Method
Checks specified operation for flooding. One user can perform an operation only once in the interval specified in settings.

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 10.0.0
Syntax
C#
public bool CheckOperation(
	int chatUserID,
	FloodOperationEnum operation
)

Parameters

chatUserID
Type: SystemInt32
Unique identifier of the chat user.
operation
Type: CMS.ChatFloodOperationEnum
Operation performed.

Return Value

Type: Boolean
True if user can perform the operation. False if it is called to early.
See Also