Skip to main content

DiscordStringSelectInteractionResponse

Documentation


Documentation / @discordeno/types / DiscordStringSelectInteractionResponse

Interface: DiscordStringSelectInteractionResponse

Defined in: discord/components.ts:240

https://docs.discord.com/developers/components/reference#string-select-strings-select-interaction-response-structure

Properties

component_type?

optional component_type?: StringSelect

Defined in: discord/components.ts:250

Remarks

This is only returned for interaction responses from message interactions


custom_id

custom_id: string

Defined in: discord/components.ts:254

The custom id for the string select menu


id

id: number

Defined in: discord/components.ts:252

32 bit integer used as an optional identifier for component


type?

optional type?: StringSelect

Defined in: discord/components.ts:245

Remarks

This is only returned for interaction responses from modals


values

values: string[]

Defined in: discord/components.ts:256

The text of the selected options