Extensions.ToConversationReference Extensions.ToConversationReference Extensions.ToConversationReference Method

Definition

Overloads

ToConversationReference(IAddress) ToConversationReference(IAddress) ToConversationReference(IAddress)

Creates a ConversationReference from IAddress.

ToConversationReference(ResumptionCookie) ToConversationReference(ResumptionCookie)

Creates a ConversationReference from ResumptionCookie.

ToConversationReference(IActivity) ToConversationReference(IActivity) ToConversationReference(IActivity)

Creates a ConversationReference from IActivity.

ToConversationReference(IAddress) ToConversationReference(IAddress) ToConversationReference(IAddress)

Creates a ConversationReference from IAddress.

public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Builder.Dialogs.IAddress address);
static member ToConversationReference : Microsoft.Bot.Builder.Dialogs.IAddress -> Microsoft.Bot.Connector.ConversationReference
<Extension()>
Public Function ToConversationReference (address As IAddress) As ConversationReference

Parameters

address
IAddress IAddress IAddress

The address.

Returns

ToConversationReference(ResumptionCookie) ToConversationReference(ResumptionCookie)

Creates a ConversationReference from ResumptionCookie.

public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Builder.Dialogs.ResumptionCookie resumptionCookie);
static member ToConversationReference : Microsoft.Bot.Builder.Dialogs.ResumptionCookie -> Microsoft.Bot.Connector.ConversationReference

Parameters

resumptionCookie
ResumptionCookie ResumptionCookie ResumptionCookie

The resumption cookie.

Returns

ToConversationReference(IActivity) ToConversationReference(IActivity) ToConversationReference(IActivity)

Creates a ConversationReference from IActivity.

public static Microsoft.Bot.Connector.ConversationReference ToConversationReference (this Microsoft.Bot.Connector.IActivity activity);
static member ToConversationReference : Microsoft.Bot.Connector.IActivity -> Microsoft.Bot.Connector.ConversationReference
<Extension()>
Public Function ToConversationReference (activity As IActivity) As ConversationReference

Parameters

activity
IActivity IActivity IActivity

The IActivity posted to bot.

Returns

Applies to