ConversationsExtensions.CreateDirectConversation Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) | |
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity) |
Créez une conversation directe entre un bot et un utilisateur. |
CreateDirectConversation(IConversations, String, String, Activity) | |
CreateDirectConversation(IConversations, String, String, Activity) |
Créez une conversation directe entre un bot et un utilisateur. |
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
Paramètres
- operations
- IConversations
- bot
- ChannelAccount
- user
- ChannelAccount
- activity
- Activity
Retours
S’applique à
CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)
Créez une conversation directe entre un bot et un utilisateur.
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
Paramètres
- operations
- IConversations
Groupe d’opérations pour cette méthode d’extension.
- bot
- ChannelAccount
Bot à partir duquel créer une conversation.
- user
- ChannelAccount
Utilisateur avec lequel créer une conversation.
- activity
- Activity
(FACULTATIF) message initial à envoyer à la nouvelle conversation.
Retours
ConversationResourceResponse.
S’applique à
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
Paramètres
- operations
- IConversations
- botAddress
- String
- userAddress
- String
- activity
- Activity
Retours
S’applique à
CreateDirectConversation(IConversations, String, String, Activity)
Créez une conversation directe entre un bot et un utilisateur.
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
Paramètres
- operations
- IConversations
Groupe d’opérations pour cette méthode d’extension.
- botAddress
- String
Bot à partir duquel créer une conversation.
- userAddress
- String
Utilisateur avec lequel créer une conversation.
- activity
- Activity
(FACULTATIF) message initial à envoyer à la nouvelle conversation.
Retours
ConversationResourceResponse.