Gets the list of available chat receivers.
ChatMessage
: successError
: Failure. Here are the error states and details:IMPROPER_MEETING_STATE
: Chat works only when the user is in meeting.INSUFFICIENT_PRIVILEGES
: The user does not have the privilege to send the chat.INVALID_PARAMETERS
: Issue with the parameter sent.Sends a chat message to all participants.
Message to send.
ExecutedPromise
The host or manager can control chat privileges in the session. The following table shows privilege values and descriptions:
Value | Description |
---|---|
ChatPrivilege.All | The user can chat to everyone. |
ChatPrivilege.NoOne | The user can chat to no one. |
ChatPrivilege.EveryonePublicly | The user can chat to the host, manager, and everyone. |
chat.setPrivilege(ChatPrivilege.All)
executedPromise
After joining a session, call
client.getChatClient()
to get the chat client.