Simple Robot 组件 | QQ
Toggle table of contents
4.2.1
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | QQ
simbot-component-qq-guild-api
/
love.forte.simbot.qguild.model
/
Role
/
Companion
/
isDefault
is
Default
@
JvmStatic
fun
isDefault
(
id
:
String
)
:
Boolean
(
source
)
判断
id
是否为如下所列的默认身分组ID:
"1"
: 全体成员
"2"
: 管理员
"4"
: 群主/创建者
"5"
: 子频道管理员
@get:
JvmStatic
val
Role
.
isDefault
:
Boolean
(
source
)
判断
id
是否为如下所列的默认身分组ID:
"1"
: 全体成员
"2"
: 管理员
"4"
: 群主/创建者
"5"
: 子频道管理员