Simple Robot
Toggle table of contents
5.0.0-Alpha2
common
Target filter
common
Switch theme
Search in API
Skip to content
Simple Robot
simbot-component-qq-api
/
love.forte.simbot.qguild.model.forum
/
TextElem
Text
Elem
@
ApiModel
@
Serializable
class
TextElem
@
ApiModelConstructor
constructor
(
val
text
:
String
,
val
props
:
TextProps
)
(
source
)
富文本文本属性。
参考
forum文档
Author
ForteScarlet
Members
Constructors
Text
Elem
Link copied to clipboard
@
ApiModelConstructor
constructor
(
text
:
String
,
props
:
TextProps
)
Properties
props
Link copied to clipboard
val
props
:
TextProps
文本属性。
text
Link copied to clipboard
val
text
:
String
正文。
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
String
component2
Link copied to clipboard
operator
fun
component2
(
)
:
TextProps
copy
Link copied to clipboard
fun
copy
(
text
:
String
=
this.text
,
props
:
TextProps
=
this.props
)
:
TextElem
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