Image

data class Image(val raw: ByteArray, val format: ImageFormat, val width: Int, val height: Int, val subType: ImageSubType, val summary: String) : BotOutgoingSegment(source)

图片消息段

Constructors

Link copied to clipboard
constructor(raw: ByteArray, format: ImageFormat, width: Int, height: Int, subType: ImageSubType, summary: String)

Properties

Link copied to clipboard

图片格式

Link copied to clipboard
val height: Int

图片高度(像素)

Link copied to clipboard

图片数据

Link copied to clipboard

图片子类型

Link copied to clipboard

图片的文本描述

Link copied to clipboard
val width: Int

图片宽度(像素)

Functions

Link copied to clipboard
open override fun toString(): String