chat

fun chat(context: Context, userId: String): Result<ChatUI>

Given a user, open a chat ui.

Parameters

context

launching context of the chat ui

userId

the user id of the user to chat with


fun chat(context: Context, userIds: List<String>, friendlyName: String? = null): Result<ChatUI>

Given a list of users, open a chat ui.

Parameters

context

launching context of the chat ui

userIds

the user ids of the users to chat with

friendlyName

the chat friendly name