createPrivate
fun createPrivate(userId: ID, message: OneBotMessageOutgoing, autoEscape: Boolean? = null): SendMsgApi(source)
构建一个发送到私聊的 SendMsgApi.
Parameters
userId
对方 QQ 号(消息类型为 private
时需要)
message
要发送的内容
autoEscape
消息内容是否作为纯文本发送(即不解析 CQ 码),只在 message
字段是字符串时有效