sendGroupAnnouncement

suspend fun Bot.sendGroupAnnouncement(groupUin: Long, content: String, imageData: ByteArray? = null, showEditCard: Boolean = false, showTipWindow: Boolean = true, confirmRequired: Boolean = true, isPinned: Boolean = false): String(source)

发送群公告

Return

公告 ID

Parameters

groupUin

群号

content

公告内容

imageData

公告图片数据(字节数组,可选,暂不支持)

showEditCard

是否显示编辑名片提示

showTipWindow

是否显示提示窗口

confirmRequired

是否需要确认

isPinned

是否置顶