ConversationsExtensions.CreateDirectConversation Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) | |
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) |
Skapa en ny direkt konversation mellan en robot och en användare. |
CreateDirectConversation(IConversations, String, String, Activity) | |
CreateDirectConversation(IConversations, String, String, Activity) |
Skapa en ny direkt konversation mellan en robot och en användare. |
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
Parametrar
- operations
- IConversations
- bot
- ChannelAccount
- user
- ChannelAccount
- activity
- Activity
Returer
Gäller för
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)
Skapa en ny direkt konversation mellan en robot och en användare.
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
Parametrar
- operations
- IConversations
Åtgärdsgruppen för den här tilläggsmetoden.
- bot
- ChannelAccount
Robot att skapa konversation från.
- user
- ChannelAccount
Användare att skapa konversation med.
- activity
- Activity
(VALFRITT) första meddelande som ska skickas till den nya konversationen.
Returer
ConversationResourceResponse.
Gäller för
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
Parametrar
- operations
- IConversations
- botAddress
- String
- userAddress
- String
- activity
- Activity
Returer
Gäller för
CreateDirectConversation(IConversations, String, String, Activity)
Skapa en ny direkt konversation mellan en robot och en användare.
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
Parametrar
- operations
- IConversations
Åtgärdsgruppen för den här tilläggsmetoden.
- botAddress
- String
Robot att skapa konversation från.
- userAddress
- String
Användare att skapa konversation med.
- activity
- Activity
(VALFRITT) första meddelande som ska skickas till den nya konversationen.
Returer
ConversationResourceResponse.