Skip to main content

SleepyDiscord::VoiceState

Inherits from SleepyDiscord::DiscordObject

Public Functions Documentation​

function VoiceState​

VoiceState() =default

function VoiceState​

inline VoiceState(
const nonstd::string_view & json
)

function VoiceState​

VoiceState(
const json::Value & json
)

function std::make_tuple​

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

Public Attributes Documentation​

variable serverID​

Snowflake< Server > serverID;

variable channelID​

Snowflake< Channel > channelID;

variable userID​

Snowflake< User > userID;

variable sessionID​

std::string sessionID;

variable deaf​

bool deaf = false;

variable mute​

bool mute = false;

variable selfDeaf​

bool selfDeaf = false;

variable selfMute​

bool selfMute = false;

variable suppress​

bool suppress = false;

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