ConversationUpdateRouteBuilderBase<TBuilder>.WithUpdateEvent Method

Definition

Configures the route to match a specific ConversationUpdateEvents, such as members being added or removed.

public TBuilder WithUpdateEvent(string eventName);
member this.WithUpdateEvent : string -> 'Builder
Public Function WithUpdateEvent (eventName As String) As TBuilder

Parameters

eventName
String

The name of the conversation update event to match. Common values include events for members being added or removed. Cannot be null.

Returns

TBuilder

The current builder instance for method chaining.

Remarks

Use this method to restrict the route to trigger only for a particular conversation update event. If the specified event is not recognized, the route will match any conversation update activity.

Applies to