ConversationsExtensions.SendToConversation 方法

定义

重载

SendToConversation(IConversations, Activity)
SendToConversation(IConversations, Activity)

将活动发送到对话。

SendToConversation(IConversations, String, Activity)

SendToConversation(IConversations, Activity)

public static Microsoft.Bot.Connector.ResourceResponse SendToConversation (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Connector.Activity activity);
static member SendToConversation : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ResourceResponse
<Extension()>
Public Function SendToConversation (operations As IConversations, activity As Activity) As ResourceResponse

参数

operations
IConversations
activity
Activity

返回

适用于

SendToConversation(IConversations, Activity)

将活动发送到对话。

public static Microsoft.Bot.Schema.ResourceResponse SendToConversation (this Microsoft.Bot.Connector.IConversations operations, Microsoft.Bot.Schema.Activity activity);
static member SendToConversation : Microsoft.Bot.Connector.IConversations * Microsoft.Bot.Schema.Activity -> Microsoft.Bot.Schema.ResourceResponse
<Extension()>
Public Function SendToConversation (operations As IConversations, activity As Activity) As ResourceResponse

参数

operations
IConversations

此扩展方法的操作组。

activity
Activity

要发送的活动。

返回

ResourceResponse。

适用于

SendToConversation(IConversations, String, Activity)

public static Microsoft.Bot.Connector.ResourceResponse SendToConversation (this Microsoft.Bot.Connector.IConversations operations, string conversationId, Microsoft.Bot.Connector.Activity activity);
static member SendToConversation : Microsoft.Bot.Connector.IConversations * string * Microsoft.Bot.Connector.Activity -> Microsoft.Bot.Connector.ResourceResponse
<Extension()>
Public Function SendToConversation (operations As IConversations, conversationId As String, activity As Activity) As ResourceResponse

参数

operations
IConversations
conversationId
String
activity
Activity

返回

适用于