toggle menu
kord
0.16.0-SNAPSHOT
common
switch theme
search in API
kord-rest
/
dev.kord.rest.builder.interaction
/
ModalBuilder
Modal
Builder
class
ModalBuilder
(
var
title
:
String
,
var
customId
:
String
)
:
RequestBuilder
<
DiscordModal
>
(
source
)
Members
Constructors
Modal
Builder
Link copied to clipboard
constructor
(
title
:
String
,
customId
:
String
)
Properties
components
Link copied to clipboard
val
components
:
MutableList
<
ActionRowBuilder
>
custom
Id
Link copied to clipboard
var
customId
:
String
title
Link copied to clipboard
var
title
:
String
Functions
action
Row
Link copied to clipboard
inline
fun
actionRow
(
builder
:
ActionRowBuilder
.
(
)
->
Unit
)
Adds an Action Row to the modal, configured by the
builder
.
to
Request
Link copied to clipboard
open
override
fun
toRequest
(
)
:
DiscordModal