Search
Preparing search index...
The search index is not available
fuwa.js
Options
All
Public
Public/Protected
All
Inherited
Menu
fuwa.js
Attachment
Class Attachment
Hierarchy
Attachment
Index
Constructors
constructor
Properties
data
Accessors
content
Type
filename
height
id
proxy
Url
size
url
width
Methods
download
get
Constructors
constructor
new
Attachment
(
data
:
Attachment
)
:
Attachment
Parameters
data:
Attachment
Returns
Attachment
Properties
Protected
data
data
:
Attachment
Accessors
content
Type
get
contentType
(
)
:
string
Returns
string
filename
get
filename
(
)
:
string
Returns
string
height
get
height
(
)
:
number
Returns
number
id
get
id
(
)
:
string
Returns
string
proxy
Url
get
proxyUrl
(
)
:
string
Returns
string
size
get
size
(
)
:
number
Returns
number
url
get
url
(
)
:
string
Returns
string
width
get
width
(
)
:
number
Returns
number
Methods
download
download
(
path
?:
string
)
:
Promise
<
void
>
Parameters
Optional
path:
string
Returns
Promise
<
void
>
get
get
(
)
:
Promise
<
Blob
>
Attachment#Get Fetch a discord attachment and get its url from a discord channel.
Returns
Promise
<
Blob
>
url of the file
Exports
Attachment
constructor
data
content
Type
filename
height
id
proxy
Url
size
url
width
download
get
Attachment#Get Fetch a discord attachment and get its url from a discord channel.