MessageExtension 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.
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 |
| 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. |