BuilderNode

inner class BuilderNode : ForwardMessage.INode

Functions

Link copied to clipboard
infix fun at(time: Int): ForwardMessageBuilder.BuilderNode

指定时间.

Link copied to clipboard
infix fun message(message: String): ForwardMessageBuilder.BuilderNode
infix fun message(message: Message): ForwardMessageBuilder.BuilderNode

指定消息内容

Link copied to clipboard
infix fun named(name: String): ForwardMessageBuilder.BuilderNode

指定发送人名称.

Link copied to clipboard
infix inline fun says(chain: MessageChainBuilder.() -> Unit): ForwardMessageBuilder

构造并添加一个 MessageChain

infix fun says(message: String): ForwardMessageBuilder
infix fun says(message: Message): ForwardMessageBuilder

添加一条消息

Link copied to clipboard
infix fun sender(user: User): ForwardMessageBuilder.BuilderNode
infix fun sender(user: UserOrBot): ForwardMessageBuilder.BuilderNode

指定发送人 id 和名称.

Link copied to clipboard
infix fun senderId(id: Int): ForwardMessageBuilder.BuilderNode
infix fun senderId(id: Long): ForwardMessageBuilder.BuilderNode

指定发送人 id.

Link copied to clipboard
infix fun senderName(name: String): ForwardMessageBuilder.BuilderNode

指定发送人名称.

Link copied to clipboard
infix fun time(time: Int): ForwardMessageBuilder.BuilderNode

指定时间.

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

Properties

Link copied to clipboard
open lateinit override var messageChain: MessageChain

消息内容

Link copied to clipboard
open override var senderId: Long = 0

发送人 User.id

Link copied to clipboard
open override var senderName: String

发送人名称

Link copied to clipboard
open override var time: Int

时间戳秒