| D++ (DPP) C++ Discord API Bot Library

Search
Loading...
Searching...
No Matches
dpp::embed_image Struct Reference

An video, image or thumbnail in a dpp::embed or dpp::component (v2). More...

`#include <message.h>`

Collaboration diagram for dpp::embed_image:
[legend]

## Public Attributes

std::string | content_type
| Content type.
uint32_t | flags {0}
| Flags (documented as present, but contents not documented).
uint32_t | height {0}
| Height (calculated by discord).
media_loading_state | loading_state {ls_unknown}
| Media loading state.
std::string | placeholder
| placeholder
uint8_t | placeholder_version {1}
| Placeholder version.
std::string | proxy_url
| Proxied image url.
std::string | url
| URL to image or video.
uint32_t | width {0}
| Width (calculated by discord).

## Detailed Description

An video, image or thumbnail in a dpp::embed or dpp::component (v2).

## Member Data Documentation

## ◆ content_type

std::string dpp::embed_image::content_type

Content type.

## ◆ flags

uint32_t dpp::embed_image::flags {0}

Flags (documented as present, but contents not documented).

## ◆ height

uint32_t dpp::embed_image::height {0}

Height (calculated by discord).

## ◆ loading_state

media_loading_state dpp::embed_image::loading_state {ls_unknown}

Media loading state.

## ◆ placeholder

std::string dpp::embed_image::placeholder

placeholder

## ◆ placeholder_version

uint8_t dpp::embed_image::placeholder_version {1}

Placeholder version.

## ◆ proxy_url

std::string dpp::embed_image::proxy_url

Proxied image url.

## ◆ url

std::string dpp::embed_image::url

URL to image or video.

## ◆ width

uint32_t dpp::embed_image::width {0}

Width (calculated by discord).

D++ Library version 9.0.13 D++ Library version 9.0.12 D++ Library version 9.0.11 D++ Library version 9.0.10 D++ Library version 9.0.9 D++ Library version 9.0.8 D++ Library version 9.0.7 D++ Library version 9.0.6 D++ Library version 9.0.5 D++ Library version 9.0.4 D++ Library version 9.0.3 D++ Library version 9.0.2 D++ Library version 9.0.1 D++ Library version 9.0.0 D++ Library version 1.0.2 D++ Library version 1.0.1 D++ Library version 1.0.0