Skip to main content

DiscordModalSubmitInteractionMetadata

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordModalSubmitInteractionMetadata

Interface: DiscordModalSubmitInteractionMetadata

https://discord.com/developers/docs/resources/message#message-interaction-metadata-object-modal-submit-interaction-metadata-structure

Properties

authorizing_integration_owners

authorizing_integration_owners: Partial<Record<"0" | "1", string>>

IDs for installation context(s) related to an interaction

Defined in

packages/types/dist/types/discord.d.ts:1595


id

id: string

Defined in

packages/types/dist/types/discord.d.ts:1589


original_response_message_id?

optional original_response_message_id: string

ID of the original response message, present only on follow-up messages

Defined in

packages/types/dist/types/discord.d.ts:1597


triggering_interaction_metadata?

optional triggering_interaction_metadata: DiscordMessageInteractionMetadata

Metadata for the interaction that was used to open the modal, present only on modal submit interactions

Defined in

packages/types/dist/types/discord.d.ts:1599


type

type: InteractionTypes

The type of interaction

Defined in

packages/types/dist/types/discord.d.ts:1591


user

user: DiscordUser

User who triggered the interaction

Defined in

packages/types/dist/types/discord.d.ts:1593