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
/
RichObject
Rich
Object
@
ApiModel
@
Serializable
class
RichObject
(
source
)
富文本内容。
参考
forum文档
Author
ForteScarlet
Members
Properties
at
Info
Link copied to clipboard
@
SerialName
(
value
=
"at_info"
)
val
atInfo
:
String
@
信息。
channel
Info
Link copied to clipboard
@
SerialName
(
value
=
"channel_info"
)
val
channelInfo
:
String
提到的子频道信息。
emoji
Info
Link copied to clipboard
@
SerialName
(
value
=
"emoji_info"
)
val
emojiInfo
:
String
表情信息。
rich
Type
Link copied to clipboard
@
SerialName
(
value
=
"type"
)
@get:
JvmExposeBoxed
val
richType
:
RichType
富文本类型。
text
Info
Link copied to clipboard
@
SerialName
(
value
=
"text_info"
)
val
textInfo
:
TextInfo
文本信息。
type
Link copied to clipboard
val
type
:
Int
url
Info
Link copied to clipboard
@
SerialName
(
value
=
"url_info"
)
val
urlInfo
:
String
链接信息。
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
Int
component2
Link copied to clipboard
operator
fun
component2
(
)
:
TextInfo
component3
Link copied to clipboard
operator
fun
component3
(
)
:
String
component4
Link copied to clipboard
operator
fun
component4
(
)
:
String
component5
Link copied to clipboard
operator
fun
component5
(
)
:
String
component6
Link copied to clipboard
operator
fun
component6
(
)
:
String
copy
Link copied to clipboard
fun
copy
(
type
:
Int
=
this.richType.value
,
textInfo
:
TextInfo
=
this.textInfo
,
atInfo
:
String
=
this.atInfo
,
urlInfo
:
String
=
this.urlInfo
,
emojiInfo
:
String
=
this.emojiInfo
,
channelInfo
:
String
=
this.channelInfo
)
:
RichObject
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