Class DocumentContent

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

public class DocumentContent extends BaseContent
文档消息内容类
See Also:
  • Field Details

  • Constructor Details

    • DocumentContent

      public DocumentContent()
  • Method Details

    • fromJson

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