Preparing search index...
The search index is not available
discord-js-button-pagination-ts
discord-js-button-pagination-ts
<internal>
AttachmentBuilder
Class AttachmentBuilder
Index
Constructors
constructor
Properties
attachment
description
name
Accessors
spoiler
Methods
set
Description
set
File
set
Name
set
Spoiler
toJSON
from
Constructors
constructor
new
AttachmentBuilder
(
attachment
:
Stream
|
BufferResolvable
,
data
?:
AttachmentData
,
)
:
AttachmentBuilder
Parameters
attachment
:
Stream
|
BufferResolvable
Optional
data
:
AttachmentData
Returns
AttachmentBuilder
Properties
attachment
attachment
:
Stream
|
BufferResolvable
description
description
:
null
|
string
name
name
:
null
|
string
Accessors
spoiler
get
spoiler
()
:
boolean
Returns
boolean
Methods
set
Description
setDescription
(
description
:
string
)
:
this
Parameters
description
:
string
Returns
this
set
File
setFile
(
attachment
:
Stream
|
BufferResolvable
,
name
?:
string
)
:
this
Parameters
attachment
:
Stream
|
BufferResolvable
Optional
name
:
string
Returns
this
set
Name
setName
(
name
:
string
)
:
this
Parameters
name
:
string
Returns
this
set
Spoiler
setSpoiler
(
spoiler
?:
boolean
)
:
this
Parameters
Optional
spoiler
:
boolean
Returns
this
toJSON
toJSON
()
:
unknown
Returns
unknown
Static
from
from
(
other
:
JSONEncodable
<
AttachmentPayload
>
)
:
AttachmentBuilder
Parameters
other
:
JSONEncodable
<
AttachmentPayload
>
Returns
AttachmentBuilder
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
attachment
description
name
Accessors
spoiler
Methods
set
Description
set
File
set
Name
set
Spoiler
toJSON
from
discord-js-button-pagination-ts
Loading...