mirai
2.13.4
common
mirai-core-api
/
net.mamoe.mirai.contact
/
Group
/
Companion
/
setEssenceMessage
set
Essence
Message
common
@
JvmStatic
suspend
fun
Group
.
setEssenceMessage
(
chain
:
MessageChain
)
:
Boolean
Content copied to clipboard
将一条消息设置为群精华消息, 需要管理员或群主权限. 操作成功返回
true
.
Since
2.2
See also
net.
mamoe.
mirai.
contact.
Group
Throws
net.
mamoe.
mirai.
contact.
Permission
Denied
Exception
没有权限时抛出