Click or drag to resize

ModeratorMessageRequest Constructor (String, MessageRecipientMode, ISFSObject)

Creates a new ModeratorMessageRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public ModeratorMessageRequest(
	string message,
	MessageRecipientMode recipientMode,
	ISFSObject parameters
)

Parameters

message
Type: SystemString
The message of the moderator to be sent to the target user/s defined by the recipientMode parameter.
recipientMode
Type: Sfs2X.RequestsMessageRecipientMode
An instance of MessageRecipientMode containing the target to which the message should be delivered.
parameters
Type: Sfs2X.Entities.DataISFSObject
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