Interface: SafeReplyToInteractionParameters<T>
Represents the parameters for safely replying to an interaction.
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T extends "edit" | "reply" | never | The type of message method ('edit', 'reply', or never). |
Properties
componentUpdateContent
componentUpdateContent:
InteractionUpdateOptions
The content to use when updating a component interaction.
Defined in
interactionEditReplyContent
interactionEditReplyContent:
WebhookMessageEditOptions
The content to use when editing a reply to an interaction.
Defined in
interactionReplyContent
interactionReplyContent:
InteractionReplyOptions
The content to use when replying to an interaction.
Defined in
messageMethod?
optionalmessageMethod:T
The method to use when sending a message.
Defined in
messageMethodContent?
optionalmessageMethodContent:Textends"reply"?MessageReplyOptions:MessageEditOptions
The content to use when sending a message using the 'reply' method.
Defined in
messageOrInteraction
messageOrInteraction:
APIMessage|Message<boolean> |AnyInteractableInteraction
The message or interaction to reply to.