FacebookAdapter.CreateFacebookMessageFromActivity(Activity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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/.