Freigeben über


MessageExtension.OnQueryLink(QueryLinkHandlerAsync) Method

Definition

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.

Applies to