kord-rest
common
kord-rest
/
dev.kord.rest.builder.message.create
/
MessageCreateBuilder
/
addFile
add
File
open
fun
addFile
(
name
:
String
,
contentProvider
:
ChannelProvider
)
:
NamedFile
(
source
)
Adds a file with the
name
and
contentProvider
to the attachments.