Skip to main content

Interface: SafeReplyToInteractionParameters<T>

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

The content to use when updating a component interaction.

Defined in

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.

Defined in

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


interactionReplyContent

interactionReplyContent: InteractionReplyOptions

The content to use when replying to an interaction.

Defined in

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


messageMethod?

optional messageMethod: T

The method to use when sending a message.

Defined in

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.

Defined in

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.

Defined in

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