createGroup

fun createGroup(groupId: ID, message: OneBotMessageOutgoing, autoEscape: Boolean? = null): SendMsgApi(source)

构建一个发送到群聊的 SendMsgApi.

Parameters

groupId

群号(消息类型为 group 时需要)

message

要发送的内容

autoEscape

消息内容是否作为纯文本发送(即不解析 CQ 码),只在 message 字段是字符串时有效