![]() |
D++ (DPP)
C++ Discord API Bot Library
|
An video, image or thumbnail in a dpp::embed or dpp::component (v2) More...
#include <message.h>
Public Attributes | |
std::string | url |
URL to image or video. More... | |
std::string | proxy_url |
Proxied image url. More... | |
uint32_t | height {0} |
Height (calculated by discord). More... | |
uint32_t | width {0} |
Width (calculated by discord). More... | |
media_loading_state | loading_state {ls_unknown} |
Media loading state. More... | |
std::string | placeholder |
placeholder More... | |
uint8_t | placeholder_version {1} |
Placeholder version. More... | |
std::string | content_type |
Content type. More... | |
uint32_t | flags {0} |
Flags (documented as present, but contents not documented) More... | |
An video, image or thumbnail in a dpp::embed or dpp::component (v2)
std::string dpp::embed_image::content_type |
Content type.
uint32_t dpp::embed_image::flags {0} |
Flags (documented as present, but contents not documented)
uint32_t dpp::embed_image::height {0} |
Height (calculated by discord).
media_loading_state dpp::embed_image::loading_state {ls_unknown} |
Media loading state.
std::string dpp::embed_image::placeholder |
placeholder
uint8_t dpp::embed_image::placeholder_version {1} |
Placeholder version.
std::string dpp::embed_image::proxy_url |
Proxied image url.
std::string dpp::embed_image::url |
URL to image or video.
uint32_t dpp::embed_image::width {0} |
Width (calculated by discord).