Video Message

To send a video message, you must pass a valid video URL and the channelId of the channel you want to send a message to. The SDK automatically sends the message to the server.

The video() function helps to create a video message from AmityMessageRepository. The code example can be found below.

Note: The file size is limited to 1 GB.

File Message Status Sending

You can render the status of a sent video message with AmityMessage.getState().

Video Uploading Progress

You can check the progress of the upload from AmityFileRepository as shown in the following code example.

Last updated