onAssistantRequest

abstract fun onAssistantRequest(block: suspend WebAssistantResponse.(RequestContext) -> Unit)

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