Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun onAllRequests(block: suspend (request: RequestContext) -> Unit)
Link copied to clipboard
fun onAllResponses(block: suspend (responseContext: ResponseContext) -> Unit)
Link copied to clipboard

Whenever an AssistantRequest is made, the contents of the onAssistantRequest{} block will be executed.

Link copied to clipboard
fun onRequest(requestType: ServerRequestType, vararg requestTypes: ServerRequestType, block: suspend (requestContext: RequestContext) -> Unit)
Link copied to clipboard
fun onResponse(requestType: ServerRequestType, vararg requestTypes: ServerRequestType, block: suspend (responseContext: ResponseContext) -> Unit)
Link copied to clipboard