ConversationReference Constructors

Definition

Overloads

ConversationReference()

Initializes a new instance of the ConversationReference class.

ConversationReference(String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

Initializes a new instance of the ConversationReference class.

ConversationReference(CultureInfo, String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

Initializes a new instance of the ConversationReference class.

ConversationReference()

Initializes a new instance of the ConversationReference class.

public ConversationReference ();
Public Sub New ()

Applies to

ConversationReference(String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

Initializes a new instance of the ConversationReference class.

public ConversationReference (string activityId = default, Microsoft.Bot.Schema.ChannelAccount user = default, Microsoft.Bot.Schema.ChannelAccount bot = default, Microsoft.Bot.Schema.ConversationAccount conversation = default, string channelId = default, string serviceUrl = default);
new Microsoft.Bot.Schema.ConversationReference : string * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ConversationAccount * string * string -> Microsoft.Bot.Schema.ConversationReference
Public Sub New (Optional activityId As String = Nothing, Optional user As ChannelAccount = Nothing, Optional bot As ChannelAccount = Nothing, Optional conversation As ConversationAccount = Nothing, Optional channelId As String = Nothing, Optional serviceUrl As String = Nothing)

Parameters

activityId
String

(Optional) ID of the activity to refer to

user
ChannelAccount

(Optional) User participating in this conversation

bot
ChannelAccount

Bot participating in this conversation

conversation
ConversationAccount

Conversation reference

channelId
String

Channel ID

serviceUrl
String

Service endpoint where operations concerning the referenced conversation may be performed

Applies to

ConversationReference(CultureInfo, String, ChannelAccount, ChannelAccount, ConversationAccount, String, String)

Initializes a new instance of the ConversationReference class.

public ConversationReference (System.Globalization.CultureInfo locale, string activityId = default, Microsoft.Bot.Schema.ChannelAccount user = default, Microsoft.Bot.Schema.ChannelAccount bot = default, Microsoft.Bot.Schema.ConversationAccount conversation = default, string channelId = default, string serviceUrl = default);
new Microsoft.Bot.Schema.ConversationReference : System.Globalization.CultureInfo * string * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ConversationAccount * string * string -> Microsoft.Bot.Schema.ConversationReference
Public Sub New (locale As CultureInfo, Optional activityId As String = Nothing, Optional user As ChannelAccount = Nothing, Optional bot As ChannelAccount = Nothing, Optional conversation As ConversationAccount = Nothing, Optional channelId As String = Nothing, Optional serviceUrl As String = Nothing)

Parameters

locale
CultureInfo

A locale name for the contents of the text field. The locale name is a combination of an ISO 639 two- or three-letter culture code associated with a language and an ISO 3166 two-letter subculture code associated with a country or region. The locale name can also correspond to a valid BCP-47 language tag.

activityId
String

(Optional) ID of the activity to refer to

user
ChannelAccount

(Optional) User participating in this conversation

bot
ChannelAccount

Bot participating in this conversation

conversation
ConversationAccount

Conversation reference

channelId
String

Channel ID

serviceUrl
String

Service endpoint where operations concerning the referenced conversation may be performed

Applies to