CreateConversationOptionsBuilder.WithChannelData(Object) Method

Definition

Sets the channel-specific data for the conversation and returns the updated builder instance.

public Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder WithChannelData(object channelData);
member this.WithChannelData : obj -> Microsoft.Agents.Builder.App.Proactive.CreateConversationOptionsBuilder
Public Function WithChannelData (channelData As Object) As CreateConversationOptionsBuilder

Parameters

channelData
Object

The channel-specific data to associate with the conversation. Can be any object required by the channel. May be null if no channel data is needed.

Returns

The current instance of CreateConversationOptionsBuilder with the specified channel data applied.

Applies to