ChatThreadsHandler
Instance that allows modification, manipulation and observing of threads.
Some methods of this class depend on configuration sent from the server. If the configuration changes remotely, you need to call ChatBuilder.build again and use the newly created instance. The saved configuration will never change at run-time.
There are no effects attached to initialization of this class.
Functions
Creates a new thread -if permitted by the configuration- and returns a handler for it. threads should return this new instance even if it's not created on the server yet.
Creates a new thread -if permitted by configuration- and returns a handler for it. threads should return this new instance even if it's not created on the server yet.
Creates a new thread handler with given thread. thread is used as a template and this particular instance will not be updated in response to changes in the handler.
Registers a listeners on this instance that returns new value every time client calls refresh or server imperatively forces a refresh remotely.