Chameleon
Preparing search index...
ModalBuilder
Class ModalBuilder
Index
Constructors
constructor
Methods
set
Title
set
Custom
Id
add
Component
add
Components
build
to
JSON
Constructors
constructor
new
ModalBuilder
()
:
ModalBuilder
Returns
ModalBuilder
Methods
set
Title
setTitle
(
title
:
string
)
:
this
Parameters
title
:
string
Returns
this
set
Custom
Id
setCustomId
(
id
:
string
)
:
this
Parameters
id
:
string
Returns
this
add
Component
addComponent
(
component
:
|
MessageComponent
|
{
build
()
:
MessageComponent
}
|
{
toJSON
()
:
any
}
,
)
:
this
Parameters
component
:
MessageComponent
|
{
build
()
:
MessageComponent
}
|
{
toJSON
()
:
any
}
Returns
this
add
Components
addComponents
(
...
components
:
(
MessageComponent
|
{
build
()
:
MessageComponent
}
|
{
toJSON
()
:
any
}
)
[]
,
)
:
this
Parameters
...
components
: (
MessageComponent
|
{
build
()
:
MessageComponent
}
|
{
toJSON
()
:
any
}
)
[]
Returns
this
build
build
()
:
{
title
:
string
;
custom_id
:
string
;
components
:
any
[]
}
Returns
{
title
:
string
;
custom_id
:
string
;
components
:
any
[]
}
to
JSON
toJSON
()
:
{
title
:
string
;
custom_id
:
string
;
components
:
any
[]
}
Returns
{
title
:
string
;
custom_id
:
string
;
components
:
any
[]
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
set
Title
set
Custom
Id
add
Component
add
Components
build
to
JSON
Chameleon
Loading...