SleepyDiscord::PresenceUpdate
Inherits from SleepyDiscord::DiscordObject
Public Functions Documentation​
function PresenceUpdate​
PresenceUpdate() =default
function ~PresenceUpdate​
~PresenceUpdate() =default
function PresenceUpdate​
PresenceUpdate(
const json::Value & json
)
function PresenceUpdate​
inline PresenceUpdate(
const nonstd::string_view & json
)
function std::make_tuple​
JSONStructStart std::make_tuple(
json::pair &::, "", ::REQUIRIED_FIELD ,
json::pair &::, "", ::OPTIONAL_FIELD ,
json::pair &::, "", ::REQUIRIED_FIELD ,
json::pair< json::ContainerTypeHelper > &::, "", ::REQUIRIED_FIELD
)
Public Attributes Documentation​
variable user​
User user;
variable serverID​
Snowflake< Server > serverID;
variable status​
std::string status;
variable activities​
std::vector< Activity > activities;
Updated on 13 April 2022 at 18:39:59 UTC