getChatMessages

Provides a real-time flow of Messages for the given channelId.

It will emit first from the offline cache, followed by a subsequent emission once the network request has completed.

Return

A Flow of LocalzResult containing a list of Messages.

Parameters

channelId

The ID of the channel to get messages for.

Throws

if the SDK is not configured.