send Group Message
suspend fun Bot.sendGroupMessage(groupUin: Long, clientSequence: Long = Random.nextLong(), random: Int = Random.nextInt(), segments: List<BotOutgoingSegment>): BotOutgoingMessageResult(source)
发送群消息
Parameters
group Uin
群号
client Sequence
客户端消息序列号,默认随机生成,可用于 IM 开发
random
消息随机数,默认随机生成,可用于 IM 开发
segments
消息段列表
inline suspend fun Bot.sendGroupMessage(groupUin: Long, clientSequence: Long = Random.nextLong(), random: Int = Random.nextInt(), builderAction: BotOutgoingMessageBuilder.() -> Unit): BotOutgoingMessageResult(source)
发送群消息
Parameters
group Uin
群号
client Sequence
客户端消息序列号,默认随机生成,可用于 IM 开发
random
消息随机数,默认随机生成,可用于 IM 开发
builder Action
消息段构建器