DiscordPHP Documentation

Components

Interfaces, Classes, Traits and Enums

ActionRow
An Action Row is a non-interactive container component for other types of components.
Button
Buttons are interactive components that render in messages.
ChannelSelect
Select menu for channels.
Component
Components are a new field on the message object, so you can use them whether you're sending messages or responding to a slash command or other interaction.
MentionableSelect
Select menu for mentionables (users and roles).
Option
Option for select menu component.
RoleSelect
Select menu for roles.
SelectMenu
Select menus are interactive components that allow users to select one or more options from a dropdown list in messages.
StringSelect
Select menu for picking from defined text options.
TextInput
Text inputs are an interactive component that render on modals. They can be used to collect short-form or long-form text.
UserSelect
Select menu for users.

Search results