OfflineFileImage

@SerialName(value = "m.std.img.offline.file")
class OfflineFileImage : OfflineResourceImage(source)

基于 FileOfflineImage 实现。

file 的序列化会通过 File.getName 作为字符串进行。

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val resource: FileResource

关联的资源对象

Functions

Link copied to clipboard
open override fun data(): ByteArray

字节数据。默认通过 Resource.data 获取。

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inherited functions

Link copied to clipboard
operator fun Message.plus(other: Message): Messages

合并两个 MessageMessages