import { type DiscordenoComponent } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";
Properties
type: MessageComponentTypes
component type
optional
style: ButtonStyles | TextStylesFor different styles/colors of the buttons
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: { label: string; value: string; description?: string; emoji?: { id?: bigint; name?: string; animated?: boolean; }; default: boolean; }[]The choices! Maximum of 25 items.
A custom placeholder text if nothing is selected. Maximum 100 characters.
The minimum number of items that must be selected. Default 1. Between 1-25.
optional
components: DiscordenoComponent[]a list of child components