ChannelUpdateRouteBuilder.WithHandler(ChannelUpdateHandler) 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.
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.