ConversationsExtensions.CreateDirectConversation Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) | |
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) |
Crie uma nova conversa direta entre um bot e um usuário. |
CreateDirectConversation(IConversations, String, String, Activity) | |
CreateDirectConversation(IConversations, String, String, Activity) |
Crie uma nova conversa direta entre um bot e um usuário. |
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
- bot
- ChannelAccount
- user
- ChannelAccount
- activity
- Activity
Retornos
Aplica-se a
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)
Crie uma nova conversa direta entre um bot e um usuário.
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
O grupo de operações para esse método de extensão.
- bot
- ChannelAccount
Bot do qual criar uma conversa.
- user
- ChannelAccount
Usuário com o qual criar conversa.
- activity
- Activity
(OPCIONAL) mensagem inicial a ser enviada para a nova conversa.
Retornos
ConversationResourceResponse.
Aplica-se 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
Retornos
Aplica-se a
CreateDirectConversation(IConversations, String, String, Activity)
Crie uma nova conversa direta entre um bot e um usuário.
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
O grupo de operações para esse método de extensão.
- botAddress
- String
Bot do qual criar uma conversa.
- userAddress
- String
Usuário com o qual criar conversa.
- activity
- Activity
(OPCIONAL) mensagem inicial a ser enviada para a nova conversa.
Retornos
ConversationResourceResponse.