Microsoft.Bot.Builder.Calling.CallingBotService Class Reference
Inheritance diagram for Microsoft.Bot.Builder.Calling.CallingBotService:

Public Member Functions

 CallingBotService (CallingBotServiceSettings settings)
 Instantiates CallingBotService using provided settings More...
 
string ProcessCallback (string content, Task< Stream > additionalData)
 Method responsible for processing the data sent with POST request to callback URL More...
 
async Task< string > ProcessCallbackAsync (string content, Task< Stream > additionalData)
 Method responsible for processing the data sent with POST request to callback URL More...
 
string ProcessIncomingCall (string content)
 Method responsible for processing the data sent with POST request to incoming call URL More...
 
async Task< string > ProcessIncomingCallAsync (string content)
 Method responsible for processing the data sent with POST request to incoming call URL More...
 

Events

Func< AnswerOutcomeEvent, Task > OnAnswerCompleted
 Event raised when the bot gets the outcome of Answer action. If the operation was successful the call is established More...
 
Func< HangupOutcomeEvent, Task > OnHangupCompleted
 Event raised when the bot gets the outcome of Hangup action More...
 
Func< IncomingCallEvent, Task > OnIncomingCallReceived
 Event raised when bot receives incoming call More...
 
Func< PlayPromptOutcomeEvent, Task > OnPlayPromptCompleted
 Event raised when the bot gets the outcome of PlayPrompt action More...
 
Func< RecognizeOutcomeEvent, Task > OnRecognizeCompleted
 Event raised when the bot gets the outcome of Recognize action More...
 
Func< RecordOutcomeEvent, Task > OnRecordCompleted
 Event raised when the bot gets the outcome of Record action More...
 
Func< RejectOutcomeEvent, Task > OnRejectCompleted
 Event raised when the bot gets the outcome of Reject action More...
 
Func< WorkflowValidationOutcomeEvent, Task > OnWorkflowValidationFailed
 Event raised when specified workflow fails to be validated by Bot platform More...
 

Detailed Description

Definition at line 14 of file CallingBotService.cs.

Constructor & Destructor Documentation

Microsoft.Bot.Builder.Calling.CallingBotService.CallingBotService ( CallingBotServiceSettings  settings)
inline

Instantiates CallingBotService using provided settings

Parameters
settings

Definition at line 64 of file CallingBotService.cs.

Member Function Documentation

string Microsoft.Bot.Builder.Calling.CallingBotService.ProcessCallback ( string  content,
Task< Stream >  additionalData 
)
inline

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

Parameters
contentThe content of request
additionalDataThe remaining part of request in case of multi part request
Returns
Returns the response that should be sent to the sender of POST request

Implements Microsoft.Bot.Builder.Calling.ICallingBotService.

Definition at line 122 of file CallingBotService.cs.

async Task<string> Microsoft.Bot.Builder.Calling.CallingBotService.ProcessCallbackAsync ( string  content,
Task< Stream >  additionalData 
)
inline

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

Parameters
contentThe content of request
additionalDataThe remaining part of request in case of multi part request
Returns
Returns the response that should be sent to the sender of POST request

Implements Microsoft.Bot.Builder.Calling.ICallingBotService.

Definition at line 78 of file CallingBotService.cs.

string Microsoft.Bot.Builder.Calling.CallingBotService.ProcessIncomingCall ( string  content)
inline

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

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

Implements Microsoft.Bot.Builder.Calling.ICallingBotService.

Definition at line 92 of file CallingBotService.cs.

async Task<string> Microsoft.Bot.Builder.Calling.CallingBotService.ProcessIncomingCallAsync ( string  content)
inline

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

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

Implements Microsoft.Bot.Builder.Calling.ICallingBotService.

Definition at line 102 of file CallingBotService.cs.

Event Documentation

Func< AnswerOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnAnswerCompleted

Event raised when the bot gets the outcome of Answer action. If the operation was successful the call is established

Definition at line 28 of file CallingBotService.cs.

Func< HangupOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnHangupCompleted

Event raised when the bot gets the outcome of Hangup action

Definition at line 33 of file CallingBotService.cs.

Func< IncomingCallEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnIncomingCallReceived

Event raised when bot receives incoming call

Definition at line 23 of file CallingBotService.cs.

Func< PlayPromptOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnPlayPromptCompleted

Event raised when the bot gets the outcome of PlayPrompt action

Definition at line 38 of file CallingBotService.cs.

Func< RecognizeOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnRecognizeCompleted

Event raised when the bot gets the outcome of Recognize action

Definition at line 43 of file CallingBotService.cs.

Func< RecordOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnRecordCompleted

Event raised when the bot gets the outcome of Record action

Definition at line 48 of file CallingBotService.cs.

Func< RejectOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnRejectCompleted

Event raised when the bot gets the outcome of Reject action

Definition at line 53 of file CallingBotService.cs.

Func< WorkflowValidationOutcomeEvent, Task> Microsoft.Bot.Builder.Calling.CallingBotService.OnWorkflowValidationFailed

Event raised when specified workflow fails to be validated by Bot platform

Definition at line 58 of file CallingBotService.cs.


The documentation for this class was generated from the following file: