OfflineByteArrayImage

@SerialName(value = "m.std.img.offline.bytes")
data class OfflineByteArrayImage(data: ByteArray) : OfflineImage(source)

直接针对一个 ByteArray 进行包装的 OfflineImage 实现。

Constructors

Link copied to clipboard
constructor(data: ByteArray)

Functions

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

得到图片的二进制数据

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

Inherited functions

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

合并两个 MessageMessages