CallingConversation.SendAsync(HttpRequestMessage, CallRequestType) Method

Definition

Process a calling request within the calling conversaion.

public static System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage> SendAsync (System.Net.Http.HttpRequestMessage toBot, Microsoft.Bot.Builder.Calling.CallRequestType callRequestType);
static member SendAsync : System.Net.Http.HttpRequestMessage * Microsoft.Bot.Builder.Calling.CallRequestType -> System.Threading.Tasks.Task<System.Net.Http.HttpResponseMessage>
Public Shared Function SendAsync (toBot As HttpRequestMessage, callRequestType As CallRequestType) As Task(Of HttpResponseMessage)

Parameters

toBot
HttpRequestMessage

The calling request sent to the bot.

callRequestType
CallRequestType

The type of calling request.

Returns

Task<HttpResponseMessage>

The response from the bot.

Applies to