Creates a new BuddyMessageRequest instance.

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

Syntax

C#
public BuddyMessageRequest(
	string message,
	Buddy targetBuddy,
	ISFSObject parameters
)

Parameters

message
Type: System..::..String
The message to be sent to a buddy.
targetBuddy
Type: Sfs2X.Entities..::..Buddy
The Buddy object corresponding to the message recipient.
parameters
Type: Sfs2X.Entities.Data..::..ISFSObject
An instance of SFSObject containing additional custom parameters (e.g. the message color, an emoticon id, etc). Default is null.

Remarks

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

See Also