Share via


ConversationParameters Constructors

Definition

Overloads

ConversationParameters()

Initializes a new instance of the ConversationParameters class.

ConversationParameters(Nullable<Boolean>, ChannelAccount, IList<ChannelAccount>, String, Activity, Object, String)

Initializes a new instance of the ConversationParameters class.

ConversationParameters()

Initializes a new instance of the ConversationParameters class.

public ConversationParameters ();
Public Sub New ()

Applies to

ConversationParameters(Nullable<Boolean>, ChannelAccount, IList<ChannelAccount>, String, Activity, Object, String)

Initializes a new instance of the ConversationParameters class.

public ConversationParameters (bool? isGroup = default, Microsoft.Bot.Schema.ChannelAccount bot = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> members = default, string topicName = default, Microsoft.Bot.Schema.Activity activity = default, object channelData = default, string tenantId = default);
new Microsoft.Bot.Schema.ConversationParameters : Nullable<bool> * Microsoft.Bot.Schema.ChannelAccount * System.Collections.Generic.IList<Microsoft.Bot.Schema.ChannelAccount> * string * Microsoft.Bot.Schema.Activity * obj * string -> Microsoft.Bot.Schema.ConversationParameters
Public Sub New (Optional isGroup As Nullable(Of Boolean) = Nothing, Optional bot As ChannelAccount = Nothing, Optional members As IList(Of ChannelAccount) = Nothing, Optional topicName As String = Nothing, Optional activity As Activity = Nothing, Optional channelData As Object = Nothing, Optional tenantId As String = Nothing)

Parameters

isGroup
Nullable<Boolean>

IsGroup.

bot
ChannelAccount

The bot address for this conversation.

members
IList<ChannelAccount>

Members to add to the conversation.

topicName
String

(Optional) Topic of the conversation (if supported by the channel).

activity
Activity

(Optional) When creating a new conversation, use this activity as the initial message to the conversation.

channelData
Object

Channel specific payload for creating the conversation.

tenantId
String

(Optional) The tenant ID in which the conversation should be created.

Applies to