AbstractReadonlyConnectorSymbol key used to store connector client instances in the TurnContext.
ProtectedmiddlewareThe middleware set used to process the pipeline of middleware handlers.
ReadonlyUserSymbol key used to store User Token Client instances in the TurnContext.
Gets the error handler for the adapter.
The current error handler function.
Sets the error handler for the adapter.
The error handler function to set.
AbstractcontinueContinues a conversation.
The conversation reference to continue.
The logic to execute.
A promise representing the completion of the continue operation.
AbstractdeleteDeletes an existing activity.
The TurnContext for the current turn.
The conversation reference of the activity to delete.
A promise representing the completion of the delete operation.
AbstractgetThe attachment ID.
The view ID.
A promise representing the NodeJS.ReadableStream for the requested attachment.
AbstractgetThe attachment ID.
A promise representing the AttachmentInfo for the requested attachment.
ProtectedrunRuns the middleware pipeline in sequence.
The TurnContext for the current turn.
The next function to call in the pipeline.
A promise representing the completion of the middleware pipeline.
AbstractsendSends a set of activities to the conversation.
The TurnContext for the current turn.
The activities to send.
A promise representing the array of ResourceResponses for the sent activities.
AbstractupdateUpdates an existing activity.
The TurnContext for the current turn.
The activity to update.
A promise representing the ResourceResponse for the updated activity.
AbstractuploadThe conversation ID.
The attachment data.
A promise representing the ResourceResponse for the uploaded attachment.
Adds middleware to the adapter's middleware pipeline.
The middleware to add.
The adapter instance.
Abstract base class for all adapters in the Agents framework.
Remarks
This class provides core functionality for handling conversations, managing middleware, authentication, and error handling. Adapters are responsible for translating between the Agents framework and specific communication channels (like Teams, Web Chat, etc.).
Key features: