Skip to main content

SleepyDiscord::ServerWidget

Inherits from SleepyDiscord::DiscordObject

Public Functions Documentation​

function ServerWidget​

ServerWidget() =default

function ServerWidget​

inline ServerWidget(
const nonstd::string_view & json
)

function ServerWidget​

ServerWidget(
const json::Value & json
)

function std::make_tuple​

JSONStructStart std::make_tuple(
json::pair &::, "", ::REQUIRIED_FIELD ,
json::pair &::, "", ::NULLABLE_FIELD
)

Public Attributes Documentation​

variable enabled​

bool enabled;

variable channelID​

Snowflake< Channel > channelID;

Updated on 13 April 2022 at 18:39:59 UTC