TeamsAppExtensions.OnTeamsMessageReactionsAdded 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 Teams handler for added message reactions.
public static Microsoft.Agents.Builder.App.AgentApplication OnTeamsMessageReactionsAdded(this Microsoft.Agents.Builder.App.AgentApplication app, Microsoft.Agents.Extensions.MSTeams.App.TeamsRouteHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default, bool isAgenticOnly = false);
static member OnTeamsMessageReactionsAdded : Microsoft.Agents.Builder.App.AgentApplication * Microsoft.Agents.Extensions.MSTeams.App.TeamsRouteHandler * uint16 * string[] * bool -> Microsoft.Agents.Builder.App.AgentApplication
<Extension()>
Public Function OnTeamsMessageReactionsAdded (app As AgentApplication, handler As TeamsRouteHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing, Optional isAgenticOnly As Boolean = false) As AgentApplication
Parameters
- app
- AgentApplication
The agent application to configure.
- handler
- TeamsRouteHandler
The Teams-aware handler to invoke.
- rank
- UInt16
The route evaluation order. Lower values run first.
- autoSignInHandlers
- String[]
The OAuth sign-in handlers to associate with the route.
- isAgenticOnly
- Boolean
When true, the route only fires for agentic turns.
Returns
The configured agent application.