MessageHandlerExtensions 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.
Extension methods for registering message activity handlers.
public static class MessageHandlerExtensions
type MessageHandlerExtensions = class
Public Module MessageHandlerExtensions
- Inheritance
-
MessageHandlerExtensions
Methods
| Name | Description |
|---|---|
| OnMessage(TeamsBotApplication, MessageHandler) |
Registers a handler for message activities. |
| OnMessage(TeamsBotApplication, Regex, MessageHandler) |
Registers a handler for message activities matching the specified regex. |
| OnMessage(TeamsBotApplication, String, MessageHandler) |
Registers a handler for message activities matching the specified pattern. |
| OnMessageDelete(TeamsBotApplication, MessageDeleteHandler) |
Registers a handler for message delete activities. |
| OnMessageReaction(TeamsBotApplication, MessageReactionHandler) |
Registers a handler for message reaction activities. |
| OnMessageReactionAdded(TeamsBotApplication, MessageReactionHandler) |
Registers a handler for message reaction activities where reactions were added. |
| OnMessageReactionRemoved(TeamsBotApplication, MessageReactionHandler) |
Registers a handler for message reaction activities where reactions were removed. |
| OnMessageUpdate(TeamsBotApplication, MessageUpdateHandler) |
Registers a handler for message update activities. |