Discohook
  1. Components
Discohook
  • Discohook API
  • Reference
  • Discohook CDN
  • Using Discohook as an external message designer or previewer
  • Changelog
  • Share Links
    • Create Share Link
      POST
    • Get Share Link
      GET
  • Link Preview
    • Unfurl URL Embed
      GET
  • GitHub
    • Execute GitHub-Compatible Webhook in Forum Channel
      POST
  • Schemas
    • Query Data
      • QueryDataMessage
      • QueryDataVersion
      • QueryData
      • QueryDataTarget
    • Discord
      • Components
        • APIButtonComponentBase
        • ComponentType
        • APIBaseComponent
        • APIMessageComponentEmoji
        • ButtonStyle
        • APIButtonComponentWithURL
        • APIButtonComponentWithCustomId
        • APIButtonComponent
        • APIMessageActionRowComponent
        • APIBaseSelectMenuComponent
        • APISelectMenuOption
        • APIStringSelectComponent
        • APIBaseAutoPopulatedSelectMenuComponent
      • APIEmbed
      • EmbedType
  1. Components

APIStringSelectComponent

https://discord.com/developers/docs/interactions/message-components#select-menus

{
    "custom_id": "string",
    "placeholder": "string",
    "min_values": 0,
    "max_values": 25,
    "disabled": true,
    "type": 3,
    "options": [
        {
            "label": "string",
            "value": "string",
            "description": "string",
            "emoji": {
                "id": "string",
                "name": "string",
                "animated": true
            },
            "default": true
        }
    ]
}
Built with