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
/
SimpleAttachments
Simple
Attachments
@
Serializable
data
class
SimpleAttachments
(
val
type
:
String
=
""
,
val
url
:
String
=
""
,
val
name
:
String
=
""
,
val
size
:
Long
=
-1
)
:
Attachments
(
source
)
Attachments
的最基础实现。
See also
Attachments
Members
Constructors
Simple
Attachments
Link copied to clipboard
constructor
(
type
:
String
=
""
,
url
:
String
=
""
,
name
:
String
=
""
,
size
:
Long
=
-1
)
Properties
name
Link copied to clipboard
open
override
val
name
:
String
Name 多媒体名
size
Link copied to clipboard
open
override
val
size
:
Long
Size 大小 单位(B) 假如无法获取,得到-1.
type
Link copied to clipboard
open
override
val
type
:
String
Type 多媒体类型.
url
Link copied to clipboard
open
override
val
url
:
String
Url 多媒体地址