SleepyDiscord::ActionRow
Inherits from SleepyDiscord::ComponentTemp< ActionRow >, SleepyDiscord::BaseComponent, SleepyDiscord::DiscordObject
inherited members​
Public Functions inherited from SleepyDiscord::ComponentTemp< ActionRow >
Name | |
---|---|
ComponentTemp() | |
~ComponentTemp() =default | |
operator json::Value() | |
operator RawComponent() | |
JSONStructStart | std::make_tuple(json::pair< json::EnumTypeHelper > &::, "", ::REQUIRIED_FIELD ) |
Public Types inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
using ComponentType | Type |
Public Functions inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
BaseComponent() =deleted | |
BaseComponent(Type _type) | |
~BaseComponent() =default | |
const ComponentType | getType() const |
Protected Attributes inherited from SleepyDiscord::BaseComponent
Name | |
---|---|
Type | type |
Public Functions Documentation​
function ActionRow​
ActionRow() =default
function ~ActionRow​
~ActionRow() =default
function ActionRow​
ActionRow(
json::Value & json
)
function ActionRow​
inline ActionRow(
const nonstd::string_view & json
)
function std::tuple_cat​
JSONStructStart std::tuple_cat(
ComponentTemp< ActionRow >::JSONStruct ,
std::make_tuple(json::pair< json::ContainerTypeHelper >(&ActionRow::components, "components", json::OPTIONAL_FIELD))
)
Public Attributes Documentation​
variable componentType​
static const ComponentType componentType = ComponentType::ActionRow;
variable components​
std::vector< std::shared_ptr< BaseComponent > > components;
Updated on 13 April 2022 at 18:39:58 UTC