Download the file The file cannot be downloaded directly from the file URL as it is encrypted. To download the file, use this method. It may take some time to decrypt and download the file. However, you have the option to cancel the download process by invoking the returned method at any time.
The msg id of the record containing file info.
file URL
Optional default is false. Determine whether to provide raw data in blob format instead of directly downloading the file. This is useful for displaying images in chat records.
Get file transfer setting
Gets the list of available chat receivers.
Whether file transfer in meeting chat is enabled
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.Send file The file will be securely encrypted and then uploaded to Zoom's file server. It may take some time to encrypt and upload the file. However, you have the option to cancel the upload process by invoking the returned method at any time.
file or retryToken
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.