AgentApplication.OnMessageReactionsAdded 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.
Handles message reactions added events.
public Microsoft.Agents.Builder.App.AgentApplication OnMessageReactionsAdded(Microsoft.Agents.Builder.App.RouteHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default, bool isAgenticOnly = false);
member this.OnMessageReactionsAdded : Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] * bool -> Microsoft.Agents.Builder.App.AgentApplication
Public Function OnMessageReactionsAdded (handler As RouteHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing, Optional isAgenticOnly As Boolean = false) As AgentApplication
Parameters
- handler
- RouteHandler
Function to call when the route is triggered.
- rank
- UInt16
0 - ushort.MaxValue for order of evaluation. Ranks of the same value are evaluated in order of addition.
- autoSignInHandlers
- String[]
- isAgenticOnly
- Boolean
True if the route is for Agentic requests only.
Returns
The application instance for chaining purposes.