create Chat Client
fun createChatClient(pubsubClient: <Error class: unknown class>, clientOptions: ChatClientOptions = buildChatClientOptions()): ChatClient
Return
ChatClient with the specified options
Parameters
pubsub Client
The Ably Pub/Sub realtime client
client Options
The client options.
fun createChatClient(pubsubClient: <Error class: unknown class>, init: MutableChatClientOptions.() -> Unit): ChatClient
Return
ChatClient with the specified options
Parameters
pubsub Client
The Ably Pub/Sub realtime client
init
Kotlin type-safe builder for client options