Creates a new ModeratorMessageRequest instance.

Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.0.0 (1.7.0)

Syntax

C#
public ModeratorMessageRequest(
	string message,
	MessageRecipientMode recipientMode,
	ISFSObject parameters
)

Parameters

message
Type: System..::..String
The message of the moderator to be sent to the target user/s defined by the recipientMode parameter.
recipientMode
Type: Sfs2X.Requests..::..MessageRecipientMode
An instance of MessageRecipientMode containing the target to which the message should be delivered.
parameters
Type: Sfs2X.Entities.Data..::..ISFSObject
An instance of SFSObject containing custom parameters to be sent to the recipient user/s (default = null).

Remarks

The instance must be passed to the SmartFox.Send method for the request to be performed.

See Also