ChannelSelectMenuComponent
ClassOn this page
ChannelSelectMenuComponent is a DiscordLua class representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.
Inheritance
- ChannelSelectMenuComponent
- BaseSelectMenuComponent
- Component
Inherited properties (31)
accentColor · inherited from Componentaccessory · inherited from ComponentchannelTypes · inherited from Componentclient · inherited from Componentcomponent · inherited from Componentcomponents · inherited from Componentcontent · inherited from ComponentcustomId · inherited from Componentdata · inherited from Componentdefault · inherited from Componentdescription · inherited from Componentdisabled · inherited from Componentdivider · inherited from Componentemoji · inherited from Componentfile · inherited from Componentid · inherited from Componentitems · inherited from Componentlabel · inherited from ComponentmaxValues · inherited from Componentmedia · inherited from ComponentminValues · inherited from Componentoptions · inherited from Componentplaceholder · inherited from Componentrequired · inherited from Componentspacing · inherited from Componentspoiler · inherited from Componentstyle · inherited from Componenttype · inherited from Componenturl · inherited from Componentvalue · inherited from Componentvalues · inherited from ComponentMethods
ChannelSelectMenuComponent:getChannelTypes()
#Read the ChannelTypes value from this ChannelSelectMenuComponent.
Signature
ChannelSelectMenuComponent:getChannelTypes() Parameters
No parameters.
Returns
ChannelSelectMenuComponent — the same instance, for chaining.
Example
local discord = require("discord")
-- object is a ChannelSelectMenuComponent
object:getChannelTypes()Inherited methods (2)
Examples
Obtain this object from a manager, wrap helper, or event payload — it is not constructed directly in typical bot code.
Related APIs
ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationCommandNumericOptionMinMaxValueMixin · ApplicationCommandOptionBase
Version: discord 1.2.9 · runtime 1.0.0