Click or drag to resize

IFBMessengerSend Method

Send a message to a Facebook user in Facebook Messenger.

Namespace:  NetQuarry.Services.Facebook
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
string Send(
	string psid,
	string message,
	string messageTag = null
)

Parameters

psid
Type: SystemString
The Facebook Page-Specific ID of the user to which to send the message.
message
Type: SystemString
The message content (plain text).
messageTag (Optional)
Type: SystemString
A tag that identifies the type of message. See Facebook Message Tags

Return Value

Type: String
The ID of the message sent.
Exceptions
ExceptionCondition
FBApiException Thrown when Facebook returns an error. See https://developers.facebook.com/docs/messenger-platform/reference/send-api/error-codes for details on the possible error types and codes.
See Also