Compartir a través de


ConversationsExtensions.CreateDirectConversation Método

Definición

Sobrecargas

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

Cree una nueva conversación directa entre un bot y un usuario.

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

Cree una nueva conversación directa entre un bot y un usuario.

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

Parámetros

operations
IConversations
activity
Activity

Devoluciones

Se aplica a

CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)

Cree una nueva conversación directa entre un bot y un usuario.

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

Parámetros

operations
IConversations

El grupo de operaciones de este método de extensión.

bot
ChannelAccount

Bot desde el que se va a crear la conversación.

user
ChannelAccount

Usuario con el que crear una conversación.

activity
Activity

(OPCIONAL) mensaje inicial que se va a enviar a la nueva conversación.

Devoluciones

ConversationResourceResponse.

Se aplica a

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

Parámetros

operations
IConversations
botAddress
String
userAddress
String
activity
Activity

Devoluciones

Se aplica a

CreateDirectConversation(IConversations, String, String, Activity)

Cree una nueva conversación directa entre un bot y un usuario.

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

Parámetros

operations
IConversations

El grupo de operaciones de este método de extensión.

botAddress
String

Bot desde el que se va a crear la conversación.

userAddress
String

Usuario con el que crear una conversación.

activity
Activity

(OPCIONAL) mensaje inicial que se va a enviar a la nueva conversación.

Devoluciones

ConversationResourceResponse.

Se aplica a