Class VideoContent

java.lang.Object
com.bytedesk.core.base.BaseContent
com.bytedesk.core.message.content.VideoContent
All Implemented Interfaces:
Serializable

public class VideoContent extends BaseContent
视频消息内容类
See Also:
  • Field Details

    • url

      private String url
    • coverUrl

      private String coverUrl
    • duration

      private String duration
    • width

      private String width
    • height

      private String height
    • format

      private String format
    • mimeType

      private String mimeType
    • label

      private String label
    • size

      private String size
    • hash

      private String hash
    • filename

      private String filename
    • caption

      private String caption
  • Constructor Details

    • VideoContent

      public VideoContent()
  • Method Details

    • fromJson

      public static VideoContent fromJson(String json)
      从JSON字符串反序列化为VideoContent对象
      Parameters:
      json - JSON字符串
      Returns:
      VideoContent对象,如果解析失败返回null