com.microsoft.bot.builder

This package contains the classes for com.microsoft.bot.builder.

Classes

ActivityHandler

An implementation of the Bot interface intended for further subclassing.

ActivityHandler.InvokeResponseException

InvokeResponse Exception.

AutoSaveStateMiddleware

Middleware to automatically call .SaveChanges() at the end of the turn for all BotState class it is managing.

BotAdapter

Represents a bot adapter that can connect a bot to a service endpoint.

BotAssert

Provides methods for debugging Bot Builder code.

BotFrameworkAdapter

A bot adapter that can connect a bot to a service endpoint.

BotState

Defines a state management object and automates the reading and writing of associated state properties to a storage layer.

BotState.CachedBotState

Internal cached bot state.

BotStateSet

Manages a collection of botState and provides ability to load and save in parallel.

ChannelServiceHandler

A class to help with the implementation of the Bot Framework protocol.

ComponentRegistration

ComponentRegistration is a signature class for discovering assets from components.

ConversationState

Defines a state management object for conversation state.

DelegatingTurnContext

A TurnContext that wraps an untyped inner TurnContext.

EventFactory

Contains utility methods for creating various event types.

IntentScore

Score plus any extra information about an intent.

InvokeResponse

Tuple class containing an HTTP Status Code and a JSON Serializable object.

MemoryStorage

A storage layer that uses an in-memory dictionary.

MemoryTranscriptStore

The memory transcript store stores transcripts in volatile memory in a Dictionary.

MessageFactory

Contains utility methods for various message types a bot can return.

MiddlewareSet

Contains an ordered set of Middleware.

NullBotTelemetryClient

A no-op telemetry client.

PagedResult<T>

Page of results from an enumeration.

PrivateConversationState

Handles persistence of a conversation state object using the conversation.Id and from.Id part of an activity.

QueueStorage

A base class for enqueueing an Activity for later processing.

RecognizerResult

Contains recognition results generated by an Recognizer.

RecognizerResult.NamedIntentScore

Holds intent score info.

RegisterClassMiddleware<T>

Middleware for adding an object to or registering a service with the current turn context.

SetSpeakMiddleware

Support the DirectLine speech and telephony channels to ensure the appropriate SSML tags are set on the Activity Speak property.

ShowTypingMiddleware

When added, this middleware will send typing activities back to the user when a Message activity is received to let them know that the bot has received the message and is working on the response.

SkypeMentionNormalizeMiddleware

Middleware to patch mention Entities from Skype since they don't conform to expected values.

TelemetryConstants

Telemetry logger property names.

TelemetryLoggerConstants

The Telemetry Logger Event names.

TelemetryLoggerMiddleware

Middleware for logging incoming, outgoing, updated or deleted Activity messages.

TraceTranscriptLogger

Represents a transcript logger that writes activities to a object.

TranscriptInfo

Represents a copy of a conversation.

TranscriptLoggerMiddleware

When added, this middleware will log incoming and outgoing activities to a TranscriptStore.

TurnContextImpl

Provides context for a turn of a bot.

TurnContextStateCollection

Represents a set of collection of services associated with the TurnContext.

TurnStateConstants

Constants used in TurnState.

TypedInvokeResponse<T>

Tuple class containing an HTTP Status Code and a JSON Serializable object.

UserState

Handles persistence of a user state object using the user ID as part of the key.

Interfaces

Bot

Represents a bot that can operate on incoming activities.

BotCallbackHandler

The callback delegate for application code.

BotTelemetryClient

Logging client for Bot Telemetry.

ConnectorClientBuilder

Abstraction to build connector clients.

DeleteActivityHandler

A method that can participate in delete activity events for the current turn.

Middleware

Represents middleware that can operate on incoming activities.

NextDelegate

Functional interface for the Middleware pipeline.

OnTurnErrorHandler

Error handler that can catch exceptions in the middleware or application.

PropertyManager

PropertyManager defines implementation of a source of named properties.

Recognizer

Interface for Recognizers.

RecognizerConvert

Can convert from a generic recognizer result to a strongly typed one.

SendActivitiesHandler

A method that can participate in send activity events for the current turn.

StatePropertyAccessor<T>

Interface which defines methods for how you can get data from a property source such as BotState.

StatePropertyInfo

This is metadata about the property including policy info.

Storage

Defines the interface for a storage layer.

StoreItem

Exposes an ETag for concurrency control.

TranscriptLogger

Transcript logger stores activities for conversations for recall.

TranscriptStore

Transcript logger stores activities for conversations for recall.

TurnContext

Provides context for a turn of a bot.

UpdateActivityHandler

A method that can participate in update activity events for the current turn.

UserTokenProvider

OAuth provider.

Enums

Severity

This enumeration is used by TrackTrace to identify severity level.