Skip to main content

Interface: SafeReplyToInteractionParameters<T>

Defined in: projects/utilities/packages/discord.js-utilities/src/lib/PaginatedMessages/PaginatedMessageTypes.ts:349

Represents the parameters for safely replying to an interaction.

Type Parameters

Type ParameterDefault typeDescription
T extends "edit" | "reply"neverThe type of message method ('edit', 'reply', or never).

Properties

componentUpdateContent

componentUpdateContent: InteractionUpdateOptions

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

The content to use when updating a component interaction.


interactionEditReplyContent

interactionEditReplyContent: WebhookMessageEditOptions

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

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


interactionReplyContent

interactionReplyContent: InteractionReplyOptions

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

The content to use when replying to an interaction.


messageMethod?

optional messageMethod: T

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

The method to use when sending a message.


messageMethodContent?

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

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

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


messageOrInteraction

messageOrInteraction: APIMessage | Message | AnyInteractableInteraction

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

The message or interaction to reply to.