Skip to main content

DiscordModalSubmitInteractionMetadata

@discordeno/bot


Documentation / @discordeno/bot / DiscordModalSubmitInteractionMetadata

Interface: DiscordModalSubmitInteractionMetadata

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

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>>

Defined in: packages/types/dist/types/discord.d.ts:1598

IDs for installation context(s) related to an interaction


id

id: string

Defined in: packages/types/dist/types/discord.d.ts:1592


original_response_message_id?

optional original_response_message_id: string

Defined in: packages/types/dist/types/discord.d.ts:1600

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


triggering_interaction_metadata?

optional triggering_interaction_metadata: DiscordMessageInteractionMetadata

Defined in: packages/types/dist/types/discord.d.ts:1602

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


type

type: InteractionTypes

Defined in: packages/types/dist/types/discord.d.ts:1594

The type of interaction


user

user: DiscordUser

Defined in: packages/types/dist/types/discord.d.ts:1596

User who triggered the interaction