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