Class FileContent
java.lang.Object
com.bytedesk.core.base.BaseContent
com.bytedesk.core.message.content.FileContent
- 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
-
name
-
size
-
type
-
label
-
hash
-
filename
-
-
Constructor Details
-
FileContent
public FileContent()
-
-
Method Details
-
fromJson
从JSON字符串反序列化为FileContent对象- Parameters:
json
- JSON字符串- Returns:
- FileContent对象,如果解析失败返回null
-