Video Message
Send a Video Message
Video messages allow users to share videos within a chat or social platform. This could be anything from a quick clip to a longer, more detailed video. With the Social Plus SDK, developers can easily integrate video message functionality into their apps, allowing users to record, upload, and share videos in real-time.
To send a video message, you must pass a valid local file URL instance instead. You can also specify an optional caption as part of the message. This caption is accessible via the data property in the message model under the caption
or text
key. You can add up to 1,000 characters of text per message. When a video is uploaded, it is automatically resized to the maximum size of 480p.
For further information regarding video information please refer to Video Handling page.
The maximum file size of the video is 1 GB.
The thumbnail for the video message is created automatically.
Here is a brief explanation of the function parameters:
text/caption
: A string that contains the text message that the user wants to send. This parameter is mandatory as it contains the actual message content.attachment
: The local video path that the user wants to send on the devicesubchannelId
: An identifier for the subchannel where the message will be sent. Subchannels are subdivisions within a channel that represent individual topics or chat threads. Messages and interactions occur within subchannels, not the main channel itself.tags
- Arbitrary strings that can be used for defining and querying for the messages.
Version 6
Version 5 (Maintained)
Last updated