DiscordLua
discorddiscord
v1.2.4
Install

ActionRow

Class
On this page

ActionRow 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
Inheritance
  1. ActionRow
  2. Component
Inherited properties (31)

Methods

ActionRow.from()

# static

Performs from on this ActionRow. Call it from bot code when you need that operation on the current object.

Signature

ActionRow.from(data)

Parameters

NameTypeRequiredBehavior
data any required Passed through to the implementation as written.

Returns

any.

Example

lua
local discord = require("discord")
-- object is a ActionRow
ActionRow.from(data)
Inherited methods (2)

Examples

Obtain this object from a manager, wrap helper, or event payload — it is not constructed directly in typical bot code.

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

Version: discord 1.2.4 · runtime 1.0.0

Search Ctrl K Navigate Open Esc