CallingConversation.SendAsync(HttpRequestMessage, CallRequestType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The response from the bot.