SimpleAttachments

data class SimpleAttachments(val type: String = "", val url: String = "", val name: String = "", val size: Long = -1) : Attachments(source)

Attachments 的最基础实现。

See also

Constructors

Link copied to clipboard
constructor(type: String = "", url: String = "", name: String = "", size: Long = -1)

Properties

Link copied to clipboard
open override val name: String

Name 多媒体名

Link copied to clipboard
open override val size: Long

Size 大小 单位(B) 假如无法获取,得到-1.

Link copied to clipboard
open override val type: String

Type 多媒体类型.

Link copied to clipboard
open override val url: String

Url 多媒体地址