Jaa


FacebookAdapter.CreateFacebookMessageFromActivity(Activity) Method

Definition

Factory method to create the FacebookMessage instance of the Activity to be sent to Facebook.

protected virtual Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage CreateFacebookMessageFromActivity (Microsoft.Bot.Schema.Activity activity);
abstract member CreateFacebookMessageFromActivity : Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage
override this.CreateFacebookMessageFromActivity : Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage
Protected Overridable Function CreateFacebookMessageFromActivity (activity As Activity) As FacebookMessage

Parameters

activity
Activity

An Activity instance to build the message.

Returns

A FacebookMessage built from the activity instance.

Remarks

This lets an override add a Facebook-supported message tag to an outgoing message. See https://developers.facebook.com/docs/messenger-platform/send-messages/message-tags/.

Applies to