getMembersStatusText

fun Channel.getMembersStatusText(context: Context, currentUser: User?, userPresence: UserPresence = UserPresence()): String

Returns a string describing the member status of the channel: either a member count for a group channel or the last seen text for a direct one-to-one conversation with the current user.

Parameters

context

The context to load string resources.

currentUser

The currently logged in user.

userPresence

The user presence display configuration.