Key

object Key : AbstractPolymorphicMessageKey<HummerMessage, FlashImage>

Functions

Link copied to clipboard
fun from(imageId: String): FlashImage
inline fun from(image: Image): FlashImage

将普通图片转换为闪照.

Properties

Link copied to clipboard
abstract val safeCast: (SingleMessage) -> FlashImage?

将一个 SingleMessage 强转为 M 类型. 在类型不符合时返回 null

Link copied to clipboard
const val SERIAL_NAME: String