toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-rest
/
dev.kord.rest.builder.message
/
AttachmentBuilder
Attachment
Builder
class
AttachmentBuilder
(
id
:
Snowflake
)
:
RequestBuilder
<
AttachmentRequest
>
(
source
)
Members
Constructors
Attachment
Builder
Link copied to clipboard
constructor
(
id
:
Snowflake
)
Properties
description
Link copied to clipboard
var
description
:
String
?
The description for the file (max 1024 characters).
filename
Link copied to clipboard
var
filename
:
String
?
The name of the attached file.
Functions
to
Request
Link copied to clipboard
open
override
fun
toRequest
(
)
:
AttachmentRequest