Skip to main content

DiscordRoleSelectInteractionResponse

Documentation


Documentation / @discordeno/types / DiscordRoleSelectInteractionResponse

Interface: DiscordRoleSelectInteractionResponse

Defined in: discord/components.ts:425

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

Properties

component_type?

optional component_type?: RoleSelect

Defined in: discord/components.ts:435

Remarks

This is only returned for interaction responses from message interactions


custom_id

custom_id: string

Defined in: discord/components.ts:439

The custom id for the role select


id

id: number

Defined in: discord/components.ts:437

32 bit integer used as an optional identifier for component


resolved

resolved: DiscordInteractionDataResolved

Defined in: discord/components.ts:441

Resolved entities from selected options


type?

optional type?: RoleSelect

Defined in: discord/components.ts:430

Remarks

This is only returned for interaction responses from modals


values

values: string[]

Defined in: discord/components.ts:443

IDs of the selected roles