FacebookHelper Class
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.
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. |