Bot Outgoing Message Builder
构建发送消息
Functions
Link copied to clipboard
添加合并转发消息段
Link copied to clipboard
fun image(raw: ByteArray, format: ImageFormat, width: Int, height: Int, subType: ImageSubType = ImageSubType.NORMAL, summary: String = "[图片]")
fun image(raw: MediaSource, format: ImageFormat, width: Int, height: Int, subType: ImageSubType = ImageSubType.NORMAL, summary: String = "[图片]")
添加图片消息段
Link copied to clipboard
fun video(raw: ByteArray, width: Int, height: Int, duration: Long, thumb: ByteArray, thumbFormat: ImageFormat)
fun video(raw: MediaSource, width: Int, height: Int, duration: Long, thumb: MediaSource, thumbFormat: ImageFormat)
添加视频消息段