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
/
PlatVideo
Plat
Video
@
ApiModel
@
Serializable
class
PlatVideo
@
ApiModelConstructor
constructor
(
val
url
:
String
,
val
width
:
Int
,
val
height
:
Int
,
val
videoId
:
String
,
val
duration
:
Int
,
val
cover
:
PlatImage
)
(
source
)
富文本平台视频属性。
参考
forum文档
Author
ForteScarlet
Members
Constructors
Plat
Video
Link copied to clipboard
@
ApiModelConstructor
constructor
(
url
:
String
,
width
:
Int
,
height
:
Int
,
videoId
:
String
,
duration
:
Int
,
cover
:
PlatImage
)
Properties
cover
Link copied to clipboard
val
cover
:
PlatImage
视频封面图属性。
duration
Link copied to clipboard
val
duration
:
Int
视频时长。
height
Link copied to clipboard
val
height
:
Int
视频高度。
url
Link copied to clipboard
val
url
:
String
视频链接。
video
Id
Link copied to clipboard
@
SerialName
(
value
=
"video_id"
)
val
videoId
:
String
视频 ID。
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
component5
Link copied to clipboard
operator
fun
component5
(
)
:
Int
component6
Link copied to clipboard
operator
fun
component6
(
)
:
PlatImage
copy
Link copied to clipboard
fun
copy
(
url
:
String
=
this.url
,
width
:
Int
=
this.width
,
height
:
Int
=
this.height
,
videoId
:
String
=
this.videoId
,
duration
:
Int
=
this.duration
,
cover
:
PlatImage
=
this.cover
)
:
PlatVideo
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