@theophilusdev/conduit
Preparing search index...
SentMessage
Interface SentMessage
interface
SentMessage
{
messageID
:
string
;
threadID
:
string
;
collect
(
options
?:
CollectorOptions
<
[
"message:respond"
]
>
,
)
:
ConduitMessageCollector
<
[
"message:respond"
]
>
;
collect
<
K
extends
readonly
(
keyof
ConduitEvents
)
[]
>
(
events
:
K
,
options
?:
CollectorOptions
<
K
>
,
)
:
ConduitMessageCollector
<
K
>
;
edit
(
body
:
ConduitSendableBody
)
:
Promise
<
void
>
;
unsend
()
:
Promise
<
void
>
;
waitResponse
(
options
?:
Omit
<
CollectorOptions
<
[
"message:respond"
]
>
,
"max"
>
,
)
:
Promise
<
MessageRespondPayload
>
;
waitResponse
<
K
extends
readonly
(
keyof
ConduitEvents
)
[]
>
(
events
:
K
,
options
?:
Omit
<
CollectorOptions
<
K
>
,
"max"
>
,
)
:
Promise
<
CollectorPayload
<
K
>
>
;
}
Index
Properties
message
ID
thread
ID
Methods
collect
edit
unsend
wait
Response
Properties
message
ID
messageID
:
string
thread
ID
threadID
:
string
Methods
collect
collect
(
options
?:
CollectorOptions
<
[
"message:respond"
]
>
,
)
:
ConduitMessageCollector
<
[
"message:respond"
]
>
Parameters
Optional
options
:
CollectorOptions
<
[
"message:respond"
]
>
Returns
ConduitMessageCollector
<
[
"message:respond"
]
>
collect
<
K
extends
readonly
(
keyof
ConduitEvents
)
[]
>
(
events
:
K
,
options
?:
CollectorOptions
<
K
>
,
)
:
ConduitMessageCollector
<
K
>
Type Parameters
K
extends
readonly
(
keyof
ConduitEvents
)
[]
Parameters
events
:
K
Optional
options
:
CollectorOptions
<
K
>
Returns
ConduitMessageCollector
<
K
>
edit
edit
(
body
:
ConduitSendableBody
)
:
Promise
<
void
>
Parameters
body
:
ConduitSendableBody
Returns
Promise
<
void
>
unsend
unsend
()
:
Promise
<
void
>
Returns
Promise
<
void
>
wait
Response
waitResponse
(
options
?:
Omit
<
CollectorOptions
<
[
"message:respond"
]
>
,
"max"
>
,
)
:
Promise
<
MessageRespondPayload
>
Parameters
Optional
options
:
Omit
<
CollectorOptions
<
[
"message:respond"
]
>
,
"max"
>
Returns
Promise
<
MessageRespondPayload
>
waitResponse
<
K
extends
readonly
(
keyof
ConduitEvents
)
[]
>
(
events
:
K
,
options
?:
Omit
<
CollectorOptions
<
K
>
,
"max"
>
,
)
:
Promise
<
CollectorPayload
<
K
>
>
Type Parameters
K
extends
readonly
(
keyof
ConduitEvents
)
[]
Parameters
events
:
K
Optional
options
:
Omit
<
CollectorOptions
<
K
>
,
"max"
>
Returns
Promise
<
CollectorPayload
<
K
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
message
ID
thread
ID
Methods
collect
edit
unsend
wait
Response
@theophilusdev/conduit
Loading...