Click or drag to resize

BuddyMessageRequest Constructor (String, Buddy, ISFSObject)

Creates a new BuddyMessageRequest instance.

Namespace:  Sfs2X.Requests.Buddylist
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public BuddyMessageRequest(
	string message,
	Buddy targetBuddy,
	ISFSObject parameters
)

Parameters

message
Type: SystemString
The message to be sent to a buddy.
targetBuddy
Type: Sfs2X.EntitiesBuddy
The Buddy object corresponding to the message recipient.
parameters
Type: Sfs2X.Entities.DataISFSObject
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