Skip to main content
Module

x/discord_api_types/v8.ts>APIButtonComponentWithCustomId

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface APIButtonComponentWithCustomId
implements APIButtonComponentBase<
| ButtonStyle.Primary
| ButtonStyle.Secondary
| ButtonStyle.Success
| ButtonStyle.Danger
>
Deprecated
Deprecated

API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.

import { type APIButtonComponentWithCustomId } from "https://deno.land/x/discord_api_types@0.37.11/v8.ts";

Properties

custom_id: string

The custom_id to be sent in the interaction when clicked