ConversationsExtensions.CreateDirectConversation メソッド

定義

オーバーロード

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

ボットとユーザーの間に新しい直接会話を作成します。

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

ボットとユーザーの間に新しい直接会話を作成します。

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

パラメーター

operations
IConversations
activity
Activity

戻り値

適用対象

CreateDirectConversation(IConversations, ChannelAccount, ChannelAccount, Activity)

ボットとユーザーの間に新しい直接会話を作成します。

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

パラメーター

operations
IConversations

この拡張メソッドの操作グループ。

bot
ChannelAccount

会話を作成するボット。

user
ChannelAccount

会話を作成するユーザー。

activity
Activity

(省略可能) 新しい会話に送信する初期メッセージ。

戻り値

ConversationResourceResponse。

適用対象

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

パラメーター

operations
IConversations
botAddress
String
userAddress
String
activity
Activity

戻り値

適用対象

CreateDirectConversation(IConversations, String, String, Activity)

ボットとユーザーの間に新しい直接会話を作成します。

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

パラメーター

operations
IConversations

この拡張メソッドの操作グループ。

botAddress
String

会話を作成するボット。

userAddress
String

会話を作成するユーザー。

activity
Activity

(省略可能) 新しい会話に送信する初期メッセージ。

戻り値

ConversationResourceResponse。

適用対象