ChatEventHandlerFactory

open class ChatEventHandlerFactory(clientState: ClientState = ChatClient.instance().clientState)

A ChatEventHandler factory. Allows to create chat event handler instance with visible channels map.

Parameters

clientState

The client used to obtain current user.

Constructors

Link copied to clipboard
constructor(clientState: ClientState = ChatClient.instance().clientState)

Functions

Link copied to clipboard
open fun chatEventHandler(channels: StateFlow<Map<String, Channel>?>): ChatEventHandler

Creates a ChatEventHandler instance.