D++ (DPP)
C++ Discord API Bot Library
dpp::stage_instance Struct Reference

A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners. More...

#include <stage_instance.h>

+ Collaboration diagram for dpp::stage_instance:

Public Member Functions

 stage_instance ()
 Create a stage_instance object. More...
 
 ~stage_instance ()=default
 Destroy the stage_instance object. More...
 
stage_instancefill_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...
 

Detailed Description

A stage instance. Stage instances are like a conference facility, with moderators/speakers and listeners.

Constructor & Destructor Documentation

◆ stage_instance()

dpp::stage_instance::stage_instance ( )

Create a stage_instance object.

◆ ~stage_instance()

dpp::stage_instance::~stage_instance ( )
default

Destroy the stage_instance object.

Member Function Documentation

◆ build_json()

std::string const dpp::stage_instance::build_json ( ) const

Build json for this object.

Returns
std::string Dumped json of this object

◆ fill_from_json()

stage_instance & dpp::stage_instance::fill_from_json ( const nlohmann::json j)

Serialise a stage_instance object rom json.

Returns
stage_instance& a reference to self

Member Data Documentation

◆ channel_id

snowflake dpp::stage_instance::channel_id

The id of the associated Stage channel.

◆ discoverable_disabled

bool dpp::stage_instance::discoverable_disabled

Whether or not Stage Discovery is disabled.

◆ guild_id

snowflake dpp::stage_instance::guild_id

The guild id of the associated Stage channel.

◆ id

snowflake dpp::stage_instance::id

The id of this Stage instance.

◆ privacy_level

stage_privacy_level dpp::stage_instance::privacy_level

The privacy level of the Stage instance.

◆ topic

std::string dpp::stage_instance::topic

The topic of the Stage instance (1-120 characters)

D++ Library version 10.0.34D++ Library version 10.0.33D++ Library version 10.0.32D++ Library version 10.0.31D++ Library version 10.0.30D++ Library version 10.0.29D++ Library version 10.0.28D++ Library version 10.0.27D++ Library version 10.0.26D++ Library version 10.0.25D++ Library version 10.0.24D++ Library version 10.0.23D++ Library version 10.0.22D++ Library version 10.0.21D++ Library version 10.0.20D++ Library version 10.0.19D++ Library version 10.0.18D++ Library version 10.0.17D++ Library version 10.0.16D++ Library version 10.0.15D++ Library version 10.0.14D++ Library version 10.0.13D++ Library version 10.0.12D++ Library version 10.0.11D++ Library version 10.0.10D++ Library version 10.0.9D++ Library version 10.0.8D++ Library version 10.0.7D++ Library version 10.0.6D++ Library version 10.0.5D++ Library version 10.0.4D++ Library version 10.0.3D++ Library version 10.0.2D++ Library version 10.0.1D++ Library version 10.0.0D++ Library version 9.0.19D++ Library version 9.0.18D++ Library version 9.0.17D++ Library version 9.0.16D++ Library version 9.0.15D++ Library version 9.0.14D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0