Skip to main content

Interface: SafeReplyToInteractionParameters<T>

Represents the parameters for safely replying to an interaction.

Type parameters

Type parameterValueDescription
T extends "edit" | "reply" | neverneverThe type of message method ('edit', 'reply', or never).

Properties

componentUpdateContent

componentUpdateContent: InteractionUpdateOptions

The content to use when updating a component interaction.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:368


interactionEditReplyContent

interactionEditReplyContent: WebhookMessageEditOptions

The content to use when editing a reply to an interaction.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:358


interactionReplyContent

interactionReplyContent: InteractionReplyOptions

The content to use when replying to an interaction.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:363


messageMethod?

optional messageMethod: T

The method to use when sending a message.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:373


messageMethodContent?

optional messageMethodContent: T extends "reply" ? MessageReplyOptions : MessageEditOptions

The content to use when sending a message using the 'reply' method.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:378


messageOrInteraction

messageOrInteraction: APIMessage | Message<boolean> | AnyInteractableInteraction

The message or interaction to reply to.

Source

projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:353