D++ (DPP)
C++ Discord API Bot Library
|
A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners. More...
#include <stage_instance.h>
Public Member Functions | |
stage_instance () | |
Create a stage_instance object. More... | |
~stage_instance ()=default | |
Destroy the stage_instance object. More... | |
stage_instance & | fill_from_json (const nlohmann::json *j) |
Serialise a stage_instance object rom json. More... | |
std::string const | build_json () const |
Build json for this object. More... | |
Public Attributes | |
snowflake | id |
The id of this Stage instance. More... | |
snowflake | guild_id |
The guild id of the associated Stage channel. More... | |
snowflake | channel_id |
The id of the associated Stage channel. More... | |
std::string | topic |
The topic of the Stage instance (1-120 characters) More... | |
stage_privacy_level | privacy_level |
The privacy level of the Stage instance. More... | |
bool | discoverable_disabled |
Whether or not Stage Discovery is disabled. More... | |
A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners.
dpp::stage_instance::stage_instance | ( | ) |
Create a stage_instance object.
|
default |
Destroy the stage_instance object.
std::string const dpp::stage_instance::build_json | ( | ) | const |
Build json for this object.
stage_instance & dpp::stage_instance::fill_from_json | ( | const nlohmann::json * | j | ) |
Serialise a stage_instance object rom json.
snowflake dpp::stage_instance::channel_id |
The id of the associated Stage channel.
bool dpp::stage_instance::discoverable_disabled |
Whether or not Stage Discovery is disabled.
snowflake dpp::stage_instance::guild_id |
The guild id of the associated Stage channel.
snowflake dpp::stage_instance::id |
The id of this Stage instance.
stage_privacy_level dpp::stage_instance::privacy_level |
The privacy level of the Stage instance.
std::string dpp::stage_instance::topic |
The topic of the Stage instance (1-120 characters)