CallingBotService Class
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.
public class CallingBotService : Microsoft.Bot.Builder.Calling.ICallingBotService
type CallingBotService = class
interface ICallingBotService
Public Class CallingBotService
Implements ICallingBotService
- Inheritance
-
CallingBotService
- Implements
Constructors
CallingBotService(CallingBotServiceSettings) |
Instantiates CallingBotService using provided settings |
Methods
ProcessCallback(String, Task<Stream>) |
Method responsible for processing the data sent with POST request to callback URL |
ProcessCallbackAsync(String, Task<Stream>) |
Method responsible for processing the data sent with POST request to callback URL |
ProcessIncomingCall(String) |
Method responsible for processing the data sent with POST request to incoming call URL |
ProcessIncomingCallAsync(String) |
Method responsible for processing the data sent with POST request to incoming call URL |
Events
OnAnswerCompleted |
Event raised when the bot gets the outcome of Answer action. If the operation was successful the call is established |
OnHangupCompleted |
Event raised when the bot gets the outcome of Hangup action |
OnIncomingCallReceived |
Event raised when bot receives incoming call |
OnPlayPromptCompleted |
Event raised when the bot gets the outcome of PlayPrompt action |
OnRecognizeCompleted |
Event raised when the bot gets the outcome of Recognize action |
OnRecordCompleted |
Event raised when the bot gets the outcome of Record action |
OnRejectCompleted |
Event raised when the bot gets the outcome of Reject action |
OnWorkflowValidationFailed |
Event raised when specified workflow fails to be validated by Bot platform |