BotOutgoingMessageBuilder

构建发送消息

Functions

Link copied to clipboard
abstract fun face(faceId: Int, isLarge: Boolean = false)

添加表情消息段

Link copied to clipboard
abstract fun forward(block: suspend BotForwardBlockBuilder.() -> Unit)

添加合并转发消息段

Link copied to clipboard
abstract fun image(raw: ByteArray, format: ImageFormat, width: Int, height: Int, subType: ImageSubType = ImageSubType.NORMAL, summary: String = "[图片]")

添加图片消息段

Link copied to clipboard
abstract fun mention(uin: Long?, name: String)

添加提及(At)消息段

Link copied to clipboard
abstract fun record(rawSilk: ByteArray, duration: Long)

添加语音消息段

Link copied to clipboard
abstract fun reply(sequence: Long)

添加回复消息段

Link copied to clipboard
abstract fun text(text: String)

添加文本消息段

Link copied to clipboard
open operator fun String.unaryPlus()
Link copied to clipboard
abstract fun video(raw: ByteArray, width: Int, height: Int, duration: Long, thumb: ByteArray, thumbFormat: ImageFormat)

添加视频消息段