Package-level declarations

Functions

Link copied to clipboard
@ApiStatus.Internal
fun sendGroupMsgApi(target: ID, message: List<OneBotMessageSegment>, reply: ID? = null): SendMsgApi
Link copied to clipboard
@ApiStatus.Internal
fun sendGroupTextMsgApi(target: ID, text: String, reply: ID? = null): SendMsgApi
Link copied to clipboard
@ApiStatus.Internal
fun sendMsgApi(messageType: String, target: ID, message: List<OneBotMessageSegment>, reply: ID? = null): SendMsgApi

构建一个发送 segments 的纯文本消息。

Link copied to clipboard
@ApiStatus.Internal
fun sendPrivateMsgApi(target: ID, message: List<OneBotMessageSegment>, reply: ID? = null): SendMsgApi
Link copied to clipboard
@ApiStatus.Internal
fun sendPrivateTextMsgApi(target: ID, text: String, reply: ID? = null): SendMsgApi
Link copied to clipboard
@ApiStatus.Internal
fun sendTextMsgApi(messageType: String, target: ID, text: String, reply: ID? = null): SendMsgApi

构建一个用于发送的纯文本消息。