@discord-types/builders/message/components/actionRow
API reference for @discord-types/builders/message/components/actionRow
@discord-types/builders/message/components/actionRow
Types
ActionRow
Raw Type
type ActionRow = ActionRow.Prototype, & {
components: {button.JSON | textInput.JSON | selectMenu.JSON | JSON}
}
Intersection with variants:
JSON
Raw Type
type JSON = ActionRow.Prototype.build(nil :: any),
Functions
ActionRow.Prototype.addComponent
[[
]]
Function Signature
--[[
]]
function ActionRow.Prototype.addComponent(self: ActionRow, component: button.JSON | textInput.JSON | selectMenu.JSON | JSON) -> ActionRow end
Arguments
component
Union with variants:
Variant 3
Variant 4
Returns
ret1
ActionRow.Prototype.build
[[ Responsible for building the ActionRow JSON that can be parsed by the Discord API. ]]
Function Signature
--[[
Responsible for building the ActionRow JSON that can be parsed by the Discord API.
]]
function ActionRow.Prototype.build(self: ActionRow) -> JSON end
Returns
ret1
ActionRow.Interface.new
[[ Responsible for creating a new ActionRow.
```lua
``` ]]
Function Signature
--[[
Responsible for creating a new ActionRow.
\`\`\`lua
\`\`\`
]]
function ActionRow.Interface.new(resource: {
components: {button.JSON | textInput.JSON | selectMenu.JSON | JSON}
}?) -> ActionRow end
Arguments
resource
This field is optional and may not be specified
{components: {(button.JSON | textInput.JSON | selectMenu.JSON | JSON)}}?
Returns
ret1
Last updated on