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
/
PlatImage
Plat
Image
@
ApiModel
@
Serializable
class
PlatImage
@
ApiModelConstructor
constructor
(
val
url
:
String
,
val
width
:
Int
,
val
height
:
Int
,
val
imageId
:
String
)
(
source
)
富文本平台图片属性。
参考
forum文档
Author
ForteScarlet
Members
Constructors
Plat
Image
Link copied to clipboard
@
ApiModelConstructor
constructor
(
url
:
String
,
width
:
Int
,
height
:
Int
,
imageId
:
String
)
Properties
height
Link copied to clipboard
val
height
:
Int
图片高度。
image
Id
Link copied to clipboard
@
SerialName
(
value
=
"image_id"
)
val
imageId
:
String
图片 ID。
url
Link copied to clipboard
val
url
:
String
图片链接。
width
Link copied to clipboard
val
width
:
Int
图片宽度。
Functions
component1
Link copied to clipboard
operator
fun
component1
(
)
:
String
component2
Link copied to clipboard
operator
fun
component2
(
)
:
Int
component3
Link copied to clipboard
operator
fun
component3
(
)
:
Int
component4
Link copied to clipboard
operator
fun
component4
(
)
:
String
copy
Link copied to clipboard
fun
copy
(
url
:
String
=
this.url
,
width
:
Int
=
this.width
,
height
:
Int
=
this.height
,
imageId
:
String
=
this.imageId
)
:
PlatImage
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