Share via


FacebookHelper Class

Definition

Helper class for converting between Bot Framework objects and Facebook API objects.

public static class FacebookHelper
type FacebookHelper = class
Public Class FacebookHelper
Inheritance
FacebookHelper

Methods

ActivityToFacebook(Activity)

Converts a Bot Framework activity to a Facebook messenger outbound message ready for the API.

GenerateTypingActivity(String)

Generates an activity that displays a typing indicator.

HandleMessageAttachments(Message)

Extracts attachments from a Facebook message.

ProcessSingleMessage(FacebookMessage)

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

WriteAsync(HttpResponse, HttpStatusCode, String, Encoding, CancellationToken)

Writes an HTTP response payload.

Applies to