MessageHandlerExtensions.OnMessageReactionRemoved Method
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.
Registers a handler for message reaction activities where reactions were removed.
public static Microsoft.Teams.Apps.TeamsBotApplication OnMessageReactionRemoved(this Microsoft.Teams.Apps.TeamsBotApplication app, Microsoft.Teams.Apps.MessageReactionHandler handler);
static member OnMessageReactionRemoved : Microsoft.Teams.Apps.TeamsBotApplication * Microsoft.Teams.Apps.MessageReactionHandler -> Microsoft.Teams.Apps.TeamsBotApplication
<Extension()>
Public Function OnMessageReactionRemoved (app As TeamsBotApplication, handler As MessageReactionHandler) As TeamsBotApplication
Parameters
The Teams bot application.
- handler
- MessageReactionHandler
The handler to register.
Returns
The updated Teams bot application.
Remarks
Breaking change: previously only the first matching handler was invoked. All matching handlers are now invoked sequentially.