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

APIButtonComponentBase

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

{
    "type": 2,
    "label": "string",
    "style": 1,
    "emoji": {
        "id": "string",
        "name": "string",
        "animated": true
    },
    "disabled": true
}
Built with