DiscordLua
discorddiscord
v1.2.9
Install

ChannelSelectMenuComponent

Class
On 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.

class Module 1.2.9 Source
Inheritance
  1. ChannelSelectMenuComponent
  2. BaseSelectMenuComponent
  3. Component
Inherited properties (31)

Methods

ChannelSelectMenuComponent:getChannelTypes()

#

Read the ChannelTypes value from this ChannelSelectMenuComponent.

Signature

ChannelSelectMenuComponent:getChannelTypes()

Parameters

No parameters.

Returns

ChannelSelectMenuComponent — the same instance, for chaining.

Example

lua
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.

ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationCommandNumericOptionMinMaxValueMixin · ApplicationCommandOptionBase

Version: discord 1.2.9 · runtime 1.0.0

Search Ctrl K Navigate Open Esc