Discohook
  1. Discord
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. Discord

APIEmbed

Paralells Discord's embed schema / discord.js's APIEmbed interface, omitting type

{
    "title": "string",
    "description": "string",
    "color": 0,
    "author": {
        "name": "string",
        "url": "string",
        "icon_url": "string"
    },
    "fields": [
        {
            "name": "string",
            "value": "string",
            "inline": true
        }
    ],
    "footer": {
        "text": "string",
        "icon_url": "string"
    },
    "timestamp": "2019-08-24T14:15:22Z",
    "image": {
        "url": "string"
    },
    "thumbnail": {
        "url": "string"
    },
    "provider": {
        "name": "string",
        "url": "string"
    }
}
Built with