Share via


FacebookHelper.ProcessSingleMessage(FacebookMessage) Method

Definition

Converts a single Facebook messenger message to a Bot Framework activity.

public static Microsoft.Bot.Schema.Activity ProcessSingleMessage (Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage message);
static member ProcessSingleMessage : Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage -> Microsoft.Bot.Schema.Activity
Public Shared Function ProcessSingleMessage (message As FacebookMessage) As Activity

Parameters

message
FacebookMessage

The message to be processed.

Returns

An Activity with the result.

Exceptions

message is null.

Remarks

A webhook call may deliver more than one message at a time.

Applies to