Simple Robot 组件 | KOOK
Toggle table of contents
4.1.2-SNAPSHOT
common
Platform filter
common
Switch theme
Search in API
Simple Robot 组件 | KOOK
simbot-component-kook-api
/
love.forte.simbot.kook.objects
/
SimpleGuild
Simple
Guild
@
Serializable
data
class
SimpleGuild
(
val
id
:
String
,
val
name
:
String
,
val
topic
:
String
,
val
userId
:
String
,
val
icon
:
String
,
val
notifyType
:
Int
,
val
region
:
String
,
val
enableOpen
:
Boolean
,
val
openId
:
String
,
val
defaultChannelId
:
String
,
val
welcomeChannelId
:
String
)
:
Guild
(
source
)
Guild
的基础实现类型。
See also
Guild
Members
Constructors
Simple
Guild
Link copied to clipboard
constructor
(
id
:
String
,
name
:
String
,
topic
:
String
,
userId
:
String
,
icon
:
String
,
notifyType
:
Int
,
region
:
String
,
enableOpen
:
Boolean
,
openId
:
String
,
defaultChannelId
:
String
,
welcomeChannelId
:
String
)
Properties
default
Channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"default_channel_id"
)
open
override
val
defaultChannelId
:
String
默认频道id
enable
Open
Link copied to clipboard
@
SerialName
(
value
=
"enable_open"
)
open
override
val
enableOpen
:
Boolean
是否为公开服务器
icon
Link copied to clipboard
open
override
val
icon
:
String
服务器icon的地址
id
Link copied to clipboard
open
override
val
id
:
String
服务器id
name
Link copied to clipboard
open
override
val
name
:
String
服务器名称
notify
Type
Link copied to clipboard
@
SerialName
(
value
=
"notify_type"
)
open
override
val
notifyType
:
Int
通知类型
open
Id
Link copied to clipboard
@
SerialName
(
value
=
"open_id"
)
open
override
val
openId
:
String
公开服务器id
region
Link copied to clipboard
open
override
val
region
:
String
服务器默认使用语音区域
topic
Link copied to clipboard
open
override
val
topic
:
String
服务器主题
user
Id
Link copied to clipboard
@
SerialName
(
value
=
"user_id"
)
open
override
val
userId
:
String
服务器主的id
welcome
Channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"welcome_channel_id"
)
open
override
val
welcomeChannelId
:
String
欢迎频道id