chatEventListener

Registers the ChatEventListener that receives state changes, errors, and chat elements for this controller.

Must be called before build for the listener to receive lifecycle events from the initial session.

Return

This builder, for chaining.

Parameters

listener

The host's event listener.