DiscordLua
discorddiscord
v1.2.4
Install

ModalComponentResolver

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

class Module 1.2.4 Source

Constructor

ModalComponentResolver.new(interaction)

The class table is callable, so ModalComponentResolver(interaction) is the same as .new.

NameTypeRequiredBehavior
interaction any required Passed through to the implementation as written.
lua
local discord = require("discord")
local object = discord.ModalComponentResolver({})

Examples

lua
local discord = require("discord")
local object = discord.ModalComponentResolver({})

ActionRow · Activity · ActivityInstance · ActivityLocation · AnonymousGuild · ApplicationCommand · ApplicationRoleConnectionMetadata · Attachment

Version: discord 1.2.4 · runtime 1.0.0

Search Ctrl K Navigate Open Esc