Click or drag to resize

PrivateMessageRequest Constructor (String, Int32, ISFSObject)

Creates a new PrivateMessageRequest instance.

Namespace:  Sfs2X.Requests
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public PrivateMessageRequest(
	string message,
	int recipientId,
	ISFSObject parameters
)

Parameters

message
Type: SystemString
The message to be sent to to the recipient user.
recipientId
Type: SystemInt32
The id of the user to which the message is to be sent.
parameters
Type: Sfs2X.Entities.DataISFSObject
An instance of SFSObject containing additional custom parameters to be sent to the message recipient (for example the color of the text, etc). Default value is null.
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also