showChat

abstract fun showChat(activity: FragmentActivity, resetHistory: Boolean = true)

A function to open chat ui overlay.

Parameters

activity

Your activity which is the host for StreamLayerFragment.

resetHistory

Indicates if Overlay history should be restored before opening chat ui.

Throws

RuntimeException

if session is released.