onCacheResult

abstract fun onCacheResult(cachedList: List<BaseMessage>?, e: SendbirdException?)

This will give message lists loaded from the db. If the db is empty, this will give an empty list.

Since

3.1.0

Parameters

cachedList

the list of BaseMessage loaded from the db.

e

SendbirdException in case an error occurred.