MessageExtension.OnQueryLink(QueryLinkHandlerAsync) 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 that implements a Link Unfurling based Message Extension.
public Microsoft.Agents.Builder.App.AgentApplication OnQueryLink(Microsoft.Agents.Extensions.Teams.App.MessageExtensions.QueryLinkHandlerAsync handler);
member this.OnQueryLink : Microsoft.Agents.Extensions.Teams.App.MessageExtensions.QueryLinkHandlerAsync -> Microsoft.Agents.Builder.App.AgentApplication
Public Function OnQueryLink (handler As QueryLinkHandlerAsync) As AgentApplication
Parameters
- handler
- QueryLinkHandlerAsync
Function to call when the event is triggered.
Returns
The application instance for chaining purposes.