Class VideoContent
java.lang.Object
com.bytedesk.core.base.BaseContent
com.bytedesk.core.message.content.VideoContent
- All Implemented Interfaces:
Serializable
视频消息内容类
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseContent
fromJson, toJson
-
Field Details
-
url
-
coverUrl
-
duration
-
width
-
height
-
format
-
mimeType
-
label
-
size
-
hash
-
filename
-
caption
-
-
Constructor Details
-
VideoContent
public VideoContent()
-
-
Method Details
-
fromJson
从JSON字符串反序列化为VideoContent对象- Parameters:
json
- JSON字符串- Returns:
- VideoContent对象,如果解析失败返回null
-