Class FileContent

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

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

  • Constructor Details

    • FileContent

      public FileContent()
  • Method Details

    • fromJson

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