Skip to main content

SleepyDiscord::EmbedVideo

Inherits from SleepyDiscord::DiscordObject

Public Functions Documentation​

function EmbedVideo​

EmbedVideo() =default

function EmbedVideo​

EmbedVideo(
const json::Value & json
)

function EmbedVideo​

inline EmbedVideo(
const nonstd::string_view & json
)

function empty​

inline bool empty() const

function std::make_tuple​

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

Public Attributes Documentation​

variable url​

std::string url;

variable height​

int64_t height = 0;

variable width​

int64_t width = 0;

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