Share via


ConversationsExtensions.SendToConversation Method

Definition

Overloads

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

Send an activity to a conversation.

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

Parameters

operations
IConversations
activity
Activity

Returns

Applies to

SendToConversation(IConversations, Activity)

Send an activity to a conversation.

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

Parameters

operations
IConversations

The operations group for this extension method.

activity
Activity

Activity to send.

Returns

ResourceResponse.

Applies to

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

Parameters

operations
IConversations
conversationId
String
activity
Activity

Returns

Applies to