Simple Robot 组件 | KOOK
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-api
/
love.forte.simbot.kook.api.thread
/
CategoryRole
Category
Role
@
Serializable
data
class
CategoryRole
@
ApiResultType
constructor
(
val
type
:
String
,
val
roleId
:
Long
,
val
userId
:
String
,
val
allow
:
Int
)
(
source
)
分区权限角色详情。
Since
4.3.0
Author
Forte
Members
Constructors
Category
Role
Link copied to clipboard
@
ApiResultType
constructor
(
type
:
String
,
roleId
:
Long
,
userId
:
String
,
allow
:
Int
)
Properties
allow
Link copied to clipboard
val
allow
:
Int
允许权限值
role
Id
Link copied to clipboard
@
SerialName
(
value
=
"role_id"
)
val
roleId
:
Long
角色ID,type为role时有值
type
Link copied to clipboard
val
type
:
String
类型:"user" 或 "role"
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
val
userId
:
String
用户ID,type为user时有值