Simple Robot
5.0.0-Preview2
      Target filter
Search in API
Skip to content
    Simple Robot
simbot-component-onebot-v11-core/love.forte.simbot.component.onebot.v11.core.api/OneBotMessageOutgoing/Companion/create

create

@JvmStatic
fun create(value: String): OneBotMessageOutgoing.StringValue(source)

通过字符串值构建 StringValue。


@JvmStatic
fun create(segments: List<OneBotMessageSegment>): OneBotMessageOutgoing.SegmentsValue(source)

通过消息段列表构建 SegmentsValue。


@JvmStatic
@ExperimentalOneBotAPI
@JvmOverloads
fun create(message: Message, bot: OneBotBot? = null): OneBotMessageOutgoing.SegmentsValue(source)

通过 Messages 构建 SegmentsValue。

Since

1.9.0

Generated by Dokka
© 2024-2026 Simple Robot. All rights reserved.