BotOutgoingMessageBuilder

构建发送消息

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Forward

Properties

Link copied to clipboard

Functions

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

添加表情消息段

Link copied to clipboard

添加合并转发消息段

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

添加图片消息段

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

添加提及(At)消息段

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

添加语音消息段

Link copied to clipboard
fun reply(sequence: Long)

添加回复消息段

Link copied to clipboard
fun text(text: String)

添加文本消息段

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

添加视频消息段