getChannelAvailability

abstract suspend fun getChannelAvailability(): Boolean

Determine if a chat is available.

The function may perform a network request if the cached availability status has expired; otherwise, it returns the cached status immediately.

Return

true if the chat channel is available, false otherwise.

See also

for accessing the current availability status directly.