D++ (DPP)
C++ Discord API Bot Library
|
Represents a guild widget, simple web widget of member list. More...
#include <guild.h>
Public Member Functions | |
guild_widget () | |
Construct a new guild widget object. More... | |
guild_widget & | fill_from_json (nlohmann::json *j) |
Build a guild widget from json. More... | |
std::string | build_json () const |
Build json for a guild widget. More... | |
Public Attributes | |
bool | enabled |
True if enabled. More... | |
snowflake | channel_id |
Channel widget points to. More... | |
Represents a guild widget, simple web widget of member list.
dpp::guild_widget::guild_widget | ( | ) |
Construct a new guild widget object.
std::string dpp::guild_widget::build_json | ( | ) | const |
Build json for a guild widget.
guild_widget & dpp::guild_widget::fill_from_json | ( | nlohmann::json * | j | ) |
Build a guild widget from json.
j | json to build from |
snowflake dpp::guild_widget::channel_id |
Channel widget points to.
bool dpp::guild_widget::enabled |
True if enabled.