mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-22 01:49:12 +08:00
Update docs
This commit is contained in:
parent
7e4424dc5a
commit
b065b29119
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2019-2020 Mamoe Technologies and contributors.
|
||||
* Copyright 2019-2021 Mamoe Technologies and contributors.
|
||||
*
|
||||
* 此源代码的使用受 GNU AFFERO GENERAL PUBLIC LICENSE version 3 许可证的约束, 可以在以下链接找到该许可证.
|
||||
* Use of this source code is governed by the GNU AGPLv3 license that can be found through the following link.
|
||||
@ -168,13 +168,13 @@ public interface Group : Contact, CoroutineScope {
|
||||
|
||||
|
||||
/**
|
||||
* 将一条消息设置为群精华消息
|
||||
* 需要管理员或群主权限
|
||||
* 将一条消息设置为群精华消息, 需要管理员或群主权限.
|
||||
* 操作成功返回 `true`.
|
||||
*
|
||||
* @return 成功时返回true
|
||||
* @throws PermissionDeniedException 没有权限时抛出
|
||||
*
|
||||
* @throws PermissionDeniedException 没有权限
|
||||
* */
|
||||
* @since 2.2
|
||||
*/
|
||||
@JvmBlockingBridge
|
||||
public suspend fun setEssenceMessage(source: MessageSource): Boolean
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user