Sdílet prostřednictvím


ConversationsExtensions.CreateDirectConversation Metoda

Definice

Přetížení

CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)

Vytvořte novou přímou konverzaci mezi robotem a uživatelem.

CreateDirectConversation(IConversations, String, String, Activity)
CreateDirectConversation(IConversations, String, String, Activity)

Vytvořte novou přímou konverzaci mezi robotem a uživatelem.

CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)

public static Microsoft.Bot.Connector.ConversationResourceResponse CreateDirectConversation (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Connector.ChannelAccount bot, Microsoft.Bot.Connector.ChannelAccount user, Microsoft.Bot.Connector.Activity activity = default);
static member CreateDirectConversation : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Connector.ChannelAccount * Microsoft.Bot.Connector.ChannelAccount * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ConversationResourceResponse
<Extension()>
Public Function CreateDirectConversation (operations As IConversations, bot As ChannelAccount, user As ChannelAccount, Optional activity As Activity = Nothing) As ConversationResourceResponse

Parametry

operations
IConversations
activity
Activity

Návraty

Platí pro

CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)

Vytvořte novou přímou konverzaci mezi robotem a uživatelem.

public static Microsoft.Bot.Schema.ConversationResourceResponse CreateDirectConversation (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Schema.ChannelAccount bot, Microsoft.Bot.Schema.ChannelAccount user, Microsoft.Bot.Schema.Activity activity = default);
static member CreateDirectConversation : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.ChannelAccount * Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Schema.ConversationResourceResponse
<Extension()>
Public Function CreateDirectConversation (operations As IConversations, bot As ChannelAccount, user As ChannelAccount, Optional activity As Activity = Nothing) As ConversationResourceResponse

Parametry

operations
IConversations

Skupina operací pro tuto rozšiřující metodu.

bot
ChannelAccount

Robot, ze který chcete vytvářet konverzaci.

user
ChannelAccount

Uživatel, se kterým chcete vytvořit konverzaci.

activity
Activity

(VOLITELNÉ) počáteční zpráva, která se má odeslat do nové konverzace.

Návraty

ConversationResourceResponse.

Platí pro

CreateDirectConversation(IConversations, String, String, Activity)

public static Microsoft.Bot.Connector.ConversationResourceResponse CreateDirectConversation (this Microsoft.Bot.Connector.IConversations operations, string botAddress, string userAddress, Microsoft.Bot.Connector.Activity activity = default);
static member CreateDirectConversation : Microsoft.Bot.Connector.IConversations * string * string * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ConversationResourceResponse
<Extension()>
Public Function CreateDirectConversation (operations As IConversations, botAddress As String, userAddress As String, Optional activity As Activity = Nothing) As ConversationResourceResponse

Parametry

operations
IConversations
botAddress
String
userAddress
String
activity
Activity

Návraty

Platí pro

CreateDirectConversation(IConversations, String, String, Activity)

Vytvořte novou přímou konverzaci mezi robotem a uživatelem.

public static Microsoft.Bot.Schema.ConversationResourceResponse CreateDirectConversation (this Microsoft.Bot.Connector.IConversations operations, string botAddress, string userAddress, Microsoft.Bot.Schema.Activity activity = default);
static member CreateDirectConversation : Microsoft.Bot.Connector.IConversations * string * string * Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Schema.ConversationResourceResponse
<Extension()>
Public Function CreateDirectConversation (operations As IConversations, botAddress As String, userAddress As String, Optional activity As Activity = Nothing) As ConversationResourceResponse

Parametry

operations
IConversations

Skupina operací pro tuto rozšiřující metodu.

botAddress
String

Robot, ze který chcete vytvářet konverzaci.

userAddress
String

Uživatel, se kterým chcete vytvořit konverzaci.

activity
Activity

(VOLITELNÉ) počáteční zpráva, která se má odeslat do nové konverzace.

Návraty

ConversationResourceResponse.

Platí pro