Freigeben über


MessageExtension Class

Definition

MessageExtensions class to enable fluent style registration of handlers related to Message Extensions.

public class MessageExtension
type MessageExtension = class
Public Class MessageExtension
Inheritance
MessageExtension

Constructors

MessageExtension(AgentApplication)

Creates a new instance of the MessageExtensions class.

Methods

OnAgentMessagePreviewEdit(MultipleRouteSelector, BotMessagePreviewEditHandlerAsync)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewEdit(Regex, BotMessagePreviewEditHandlerAsync)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewEdit(RouteSelector, BotMessagePreviewEditHandlerAsync)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewEdit(String, BotMessagePreviewEditHandlerAsync)

Registers a handler to process the 'edit' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewSend(MultipleRouteSelector, BotMessagePreviewSendHandler)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewSend(Regex, BotMessagePreviewSendHandler)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewSend(RouteSelector, BotMessagePreviewSendHandler)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnAgentMessagePreviewSend(String, BotMessagePreviewSendHandler)

Registers a handler to process the 'send' action of a message that's being previewed by the user prior to sending.

OnAnonymousQueryLink(QueryLinkHandlerAsync)

Registers a handler that implements the logic to handle anonymous link unfurling.

OnCardButtonClicked(CardButtonClickedHandler)

Registers a handler that implements the logic when a user has clicked on a button in a Message Extension card.

OnConfigureSettings(ConfigureSettingsHandler)

Registers a handler that implements the logic to invoke configuring Message Extension settings.

OnFetchTask(MultipleRouteSelector, FetchTaskHandlerAsync)

Registers a handler to process the initial fetch task for an Action based message extension.

OnFetchTask(Regex, FetchTaskHandlerAsync)

Registers a handler to process the initial fetch task for an Action based message extension.

OnFetchTask(RouteSelector, FetchTaskHandlerAsync)

Registers a handler to process the initial fetch task for an Action based message extension.

OnFetchTask(String, FetchTaskHandlerAsync)

Registers a handler to process the initial fetch task for an Action based message extension.

OnQuery(MultipleRouteSelector, QueryHandlerAsync)

Registers a handler that implements a Search based Message Extension.

OnQuery(Regex, QueryHandlerAsync)

Registers a handler that implements a Search based Message Extension.

OnQuery(RouteSelector, QueryHandlerAsync)

Registers a handler that implements a Search based Message Extension.

OnQuery(String, QueryHandlerAsync)

Registers a handler that implements a Search based Message Extension.

OnQueryLink(QueryLinkHandlerAsync)

Registers a handler that implements a Link Unfurling based Message Extension.

OnQueryUrlSetting(QueryUrlSettingHandlerAsync)

Registers a handler that invokes the fetch of the configuration settings for a Message Extension.

OnSelectItem(SelectItemHandlerAsync)

Registers a handler that implements the logic to handle the tap actions for items returned by a Search based message extension. <remarks> The composeExtension/selectItem INVOKE activity does not contain any sort of command ID, so only a single select item handler can be registered. Developers will need to include a type name of some sort in the preview item they return if they need to support multiple select item handlers. </remarks>>

OnSubmitAction(MultipleRouteSelector, SubmitActionHandlerAsync)

Registers a handler that implements the submit action for an Action based Message Extension.

OnSubmitAction(Regex, SubmitActionHandlerAsync)

Registers a handler that implements the submit action for an Action based Message Extension.

OnSubmitAction(RouteSelector, SubmitActionHandlerAsync)

Registers a handler that implements the submit action for an Action based Message Extension.

OnSubmitAction(String, SubmitActionHandlerAsync)

Registers a handler that implements the submit action for an Action based Message Extension.

Applies to