Skip to main content

DiscordUserSelectInteractionResponse

Documentation


Documentation / @discordeno/types / DiscordUserSelectInteractionResponse

Interface: DiscordUserSelectInteractionResponse

Defined in: discord/components.ts:361

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

Properties

component_type?

optional component_type?: UserSelect

Defined in: discord/components.ts:371

Remarks

This is only returned for interaction responses from message interactions


custom_id

custom_id: string

Defined in: discord/components.ts:375

The custom id for the user select


id

id: number

Defined in: discord/components.ts:373

32 bit integer used as an optional identifier for component


resolved

resolved: DiscordInteractionDataResolved

Defined in: discord/components.ts:377

Resolved entities from selected options


type?

optional type?: UserSelect

Defined in: discord/components.ts:366

Remarks

This is only returned for interaction responses from modals


values

values: string[]

Defined in: discord/components.ts:379

IDs of the selected users