Search
Preparing search index...
The search index is not available
helly - Discord API Wrapper
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
helly
MakeAPIMessage
Class MakeAPIMessage
Hierarchy
any
MakeAPIMessage
Index
Constructors
constructor
Methods
transform
Constructors
constructor
new
MakeAPIMessage
(
)
:
MakeAPIMessage
Returns
MakeAPIMessage
Methods
Static
transform
transform
(
data
:
any
)
:
AddUndefinedToPossiblyUndefinedPropertiesOfInterface
<
{
allowed_mentions
?:
APIAllowedMentions
;
attachments
?:
(
Pick
<
APIAttachment
,
"id"
|
"description"
>
&
Partial
<
Pick
<
APIAttachment
,
"filename"
>
>
)
[]
;
components
?:
APIActionRowComponent
<
APIMessageActionRowComponent
>
[]
;
content
?:
string
;
embeds
?:
APIEmbed
[]
;
flags
?:
MessageFlags
;
message_reference
?:
APIMessageReferenceSend
;
nonce
?:
string
|
number
;
sticker_ids
?:
[
string
]
|
[
string
,
string
]
|
[
string
,
string
,
string
]
;
tts
?:
boolean
}
>
Parameters
data:
any
Returns
AddUndefinedToPossiblyUndefinedPropertiesOfInterface
<
{
allowed_mentions
?:
APIAllowedMentions
;
attachments
?:
(
Pick
<
APIAttachment
,
"id"
|
"description"
>
&
Partial
<
Pick
<
APIAttachment
,
"filename"
>
>
)
[]
;
components
?:
APIActionRowComponent
<
APIMessageActionRowComponent
>
[]
;
content
?:
string
;
embeds
?:
APIEmbed
[]
;
flags
?:
MessageFlags
;
message_reference
?:
APIMessageReferenceSend
;
nonce
?:
string
|
number
;
sticker_ids
?:
[
string
]
|
[
string
,
string
]
|
[
string
,
string
,
string
]
;
tts
?:
boolean
}
>
Exports
Internals
Externals
Utils
MakeAPIMessage
constructor
transform
Generated using
TypeDoc
version 0.22.16, the 9/16/2022 at 1:09:15 AM