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... | |
double | get_creation_time () const |
Get the creation time of this object according to Discord. More... | |
Public Attributes | |
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... | |
snowflake | id |
Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relavent to us as useful metadata. 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.
|
inherited |
Get the creation time of this object according to Discord.
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.
|
inherited |
Unique ID of object set by Discord. This value contains a timestamp, worker ID, internal server ID, and an incrementing value. Only the timestamp is relavent to us as useful metadata.
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)