Language

ChannelUpdateRouteBuilder.WithHandler(ChannelUpdateHandler) Method

Definition

Configures the route to use the specified handler for channel update events.

public Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateRouteBuilder WithHandler(Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateHandler handler);
member this.WithHandler : Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateHandler -> Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateRouteBuilder
Public Function WithHandler (handler As ChannelUpdateHandler) As ChannelUpdateRouteBuilder

Parameters

handler
ChannelUpdateHandler

The handler to process channel update events.

Returns

The current instance of the ChannelUpdateRouteBuilder, enabling method chaining.

Applies to