Microsoft.Bot.Builder.Calling.ICallingBotService Interface Reference
Inheritance diagram for Microsoft.Bot.Builder.Calling.ICallingBotService:

Public Member Functions

string ProcessCallback (string content, Task< Stream > additionalData)
 Method responsible for processing the data sent with POST request to callback URL More...
 
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...
 
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 9 of file ICallingBotService.cs.

Member Function Documentation

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

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

Implemented in Microsoft.Bot.Builder.Calling.CallingBotService.

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

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

Implemented in Microsoft.Bot.Builder.Calling.CallingBotService.

string Microsoft.Bot.Builder.Calling.ICallingBotService.ProcessIncomingCall ( string  content)

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

Implemented in Microsoft.Bot.Builder.Calling.CallingBotService.

Task<string> Microsoft.Bot.Builder.Calling.ICallingBotService.ProcessIncomingCallAsync ( string  content)

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

Implemented in Microsoft.Bot.Builder.Calling.CallingBotService.

Event Documentation

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

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

Definition at line 19 of file ICallingBotService.cs.

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

Event raised when the bot gets the outcome of Hangup action

Definition at line 24 of file ICallingBotService.cs.

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

Event raised when bot receives incoming call

Definition at line 14 of file ICallingBotService.cs.

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

Event raised when the bot gets the outcome of PlayPrompt action

Definition at line 29 of file ICallingBotService.cs.

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

Event raised when the bot gets the outcome of Recognize action

Definition at line 34 of file ICallingBotService.cs.

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

Event raised when the bot gets the outcome of Record action

Definition at line 39 of file ICallingBotService.cs.

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

Event raised when the bot gets the outcome of Reject action

Definition at line 44 of file ICallingBotService.cs.

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

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

Definition at line 49 of file ICallingBotService.cs.


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