ChatClient

interface ChatClient

This is the core client for Ably chat. It provides access to chat rooms.

Not suitable for inheritance

This interface is not designed for implementation or extension outside this SDK. The interface definition may evolve over time with additional properties or methods to support new features, which could break implementations.

Properties

Link copied to clipboard
abstract val clientId: String?

The clientId of the current client.

Link copied to clipboard

The chat client options for the client, including any defaults that have been set.

Link copied to clipboard
abstract val connection: Connection

The underlying connection to Ably, which can be used to monitor the clients connection to Ably servers.

Link copied to clipboard
abstract val realtime: <Error class: unknown class>

The underlying Ably Realtime client.

Link copied to clipboard
abstract val rooms: Rooms

The rooms object, which provides access to chat rooms.