Skip to main content
The IntegrationImplementation class (exported as Integration) implements the runtime behavior of an integration, including webhooks, action handlers, and channel message handlers.

Constructor

IntegrationImplementationProps

function
required
Called when the integration is registered to a bot.
function
required
Called when the integration is removed from a bot.
function
required
Main webhook handler for incoming requests from the external platform.
object
required
Action handler implementations.
object
required
Channel message handlers for outgoing messages.

Handler Props

All handlers receive props with these common fields:
IntegrationContext
Integration context with configuration and IDs.
IntegrationSpecificClient
Type-safe API client for integration operations.
IntegrationLogger
Logger instance.

Complete Example

index.ts

See Also