import { type DiscordComponent } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/deps.ts";
Properties
type: MessageComponentTypes
component type
optional
style: ButtonStyles | TextStylesFor different styles/colors of the buttons
the dev-define value of the option, max 100 characters for select or 4000 for input.
Emoji object that includes fields of name, id, and animated supporting unicode and custom emojis.
optional url for link-style buttons that can navigate a user to the web. Only type 5 Link buttons can have a url
optional
options: DiscordSelectOption[]The choices! Maximum of 25 items.
A custom placeholder text if nothing is selected. Maximum 150 characters.
The minimum number of items that must be selected. Default 1. Between 1-25.
The maximum number of items that can be selected. Default 1. Between 1-25.
optional
components: DiscordComponent[]a list of child components