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
/
CreateThreadApi
/
Body
Body
@
Serializable
class
Body
(
source
)
用于创建帖子的请求体。
Since
4.3.0
Members
Properties
category
Id
Link copied to clipboard
@
SerialName
(
value
=
"category_id"
)
val
categoryId
:
String
?
=
null
帖子分区 id(若无默认为综合分区)
channel
Id
Link copied to clipboard
@
SerialName
(
value
=
"channel_id"
)
val
channelId
:
String
频道 id
content
Link copied to clipboard
val
content
:
String
卡片消息内容
cover
Link copied to clipboard
val
cover
:
String
?
=
null
封面url
guild
Id
Link copied to clipboard
@
SerialName
(
value
=
"guild_id"
)
val
guildId
:
String
服务器 id
title
Link copied to clipboard
val
title
:
String
标题
Functions
equals
Link copied to clipboard
open
operator override
fun
equals
(
other
:
Any
?
)
:
Boolean
hash
Code
Link copied to clipboard
open
override
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String