public class VideoMessage extends MessageData
MessageSendRequest object.| Constructor and Description |
|---|
VideoMessage(java.lang.String originalContentUrl,
java.lang.String previewImageUrl)
Construct a
VideoMessage object. |
| Modifier and Type | Method and Description |
|---|---|
Type |
getType() |
org.json.JSONObject |
toJsonObject() |
public VideoMessage(java.lang.String originalContentUrl,
java.lang.String previewImageUrl)
VideoMessage object.originalContentUrl - Required. The URL of the video file.previewImageUrl - Required. The URL of the preview video file.public Type getType()
getType in class MessageDatapublic org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface JsonabletoJsonObject in class MessageDataorg.json.JSONException