ICallingBotService.ProcessCallbackAsync(String, Task<Stream>) Method

Definition

Method responsible for processing the data sent with POST request to callback URL

public System.Threading.Tasks.Task<string> ProcessCallbackAsync (string content, System.Threading.Tasks.Task<System.IO.Stream> additionalData);
abstract member ProcessCallbackAsync : string * System.Threading.Tasks.Task<System.IO.Stream> -> System.Threading.Tasks.Task<string>
Public Function ProcessCallbackAsync (content As String, additionalData As Task(Of Stream)) As Task(Of String)

Parameters

content
String

The content of request

additionalData
Task<Stream>

The remaining part of request in case of multi part request

Returns

Task<String>

Returns the response that should be sent to the sender of POST request

Applies to