Class ArticleContent

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

public class ArticleContent extends BaseContent
See Also:
  • Field Details

    • title

      private String title
    • url

      private String url
    • imageUrl

      private String imageUrl
    • description

      private String description
    • content

      private String content
  • Constructor Details

    • ArticleContent

      public ArticleContent()
  • Method Details

    • fromJson

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