ModalComponentResolver
ClassOn this page
ModalComponentResolver is a DiscordLua class representing a Discord resource. Obtain it from a manager, an event payload, or the constructor when one is documented below.
Constructor
ModalComponentResolver.new(interaction) The class table is callable, so ModalComponentResolver(interaction) is the same as .new.
| Name | Type | Required | Behavior |
|---|---|---|---|
interaction |
any |
required | Passed through to the implementation as written. |
local discord = require("discord")
local object = discord.ModalComponentResolver({})Examples
local discord = require("discord")
local object = discord.ModalComponentResolver({})Related APIs
ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationRoleConnectionMetadata · Attachment
Version: discord 1.2.4 · runtime 1.0.0