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.card
/
CardElement
/
KMarkdown
KMarkdown
@
Serializable
@
SerialName
(
value
=
"kmarkdown"
)
data
class
KMarkdown
(
val
content
:
String
)
:
CardElement.Text
(
source
)
kmarkdown
作用说明: 显示文字。
e.g.
{
"type": "kmarkdown",
"content" : "**hello**",
}
Content copied to clipboard
Members
Constructors
KMarkdown
Link copied to clipboard
constructor
(
content
:
KMarkdown
)
constructor
(
content
:
String
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
content
Link copied to clipboard
val
content
:
String
KMarkDown内容字符串。