#include <dpp/export.h>
#include <dpp/queues.h>
#include <dpp/snowflake.h>
#include <dpp/managed.h>
#include <dpp/user.h>
#include <dpp/channel.h>
#include <dpp/guild.h>
#include <optional>
#include <variant>
#include <dpp/json_fwd.h>
#include <dpp/json_interface.h>
Classes | |
struct | dpp::message::allowed_ref |
Allowed mentions details. More... | |
struct | dpp::poll_results::answer_count |
Represents a reference to an answer and its count of votes. More... | |
struct | dpp::attachment |
Represents an attachment in a dpp::message. More... | |
struct | dpp::cache_policy_t |
Represents the caching policy of the cluster. More... | |
class | dpp::component |
Represents the component object. More... | |
struct | dpp::component_default_value |
A Default value structure for components. More... | |
struct | dpp::embed |
A rich embed for display within a dpp::message. More... | |
struct | dpp::embed_author |
Author within a dpp::embed object. More... | |
struct | dpp::embed_field |
A dpp::embed may contain zero or more fields. More... | |
struct | dpp::embed_footer |
A footer in a dpp::embed. More... | |
struct | dpp::embed_image |
An video, image or thumbnail in a dpp::embed. More... | |
struct | dpp::embed_provider |
Embed provider in a dpp::embed. More... | |
struct | dpp::message |
Represents messages sent and received on Discord. More... | |
struct | dpp::message_file_data |
The data for a file attached to a message. More... | |
struct | dpp::message::message_interaction_struct |
Reference to an interaction. More... | |
struct | dpp::message::message_ref |
Reference to another message, e.g. More... | |
struct | dpp::partial_emoji |
An emoji reference for a component (select menus included) or a poll. More... | |
struct | dpp::poll |
Represents a poll. More... | |
struct | dpp::poll_answer |
Represents an answer in a poll. More... | |
struct | dpp::poll_media |
Structure representing a poll media, for example the poll question or a possible poll answer. More... | |
struct | dpp::poll_results |
Represents the results of a poll. More... | |
struct | dpp::reaction |
Represents a reaction to a dpp::message. More... | |
struct | dpp::select_option |
An option for a select component. More... | |
struct | dpp::sticker |
Represents stickers received in messages. More... | |
struct | dpp::sticker_pack |
Represents a sticker pack (the built in groups of stickers that all nitro users get to use) More... | |
Namespaces | |
dpp | |
The main namespace for D++ functions. | |
dpp::cache_policy | |
Contains a set of predefined cache policies for use when constructing a dpp::cluster. | |
dpp::embed_type | |
Represents possible values for the dpp::embed type field. | |
Typedefs | |
using | dpp::component_emoji = partial_emoji |
An emoji for a component. More... | |
typedef std::unordered_map< snowflake, message > | dpp::message_map |
A group of messages. More... | |
typedef std::unordered_map< snowflake, sticker > | dpp::sticker_map |
A group of stickers. More... | |
typedef std::unordered_map< snowflake, sticker_pack > | dpp::sticker_pack_map |
A group of sticker packs. More... | |
Variables | |
constexpr cache_policy_t | dpp::cache_policy::cpol_balanced = { cp_lazy, cp_lazy, cp_lazy, cp_aggressive, cp_aggressive } |
A shortcut constant for a more balanced caching policy for use in dpp::cluster constructor. More... | |
constexpr cache_policy_t | dpp::cache_policy::cpol_default = { cp_aggressive, cp_aggressive, cp_aggressive, cp_aggressive, cp_aggressive } |
A shortcut constant for all caching enabled for use in dpp::cluster constructor. More... | |
constexpr cache_policy_t | dpp::cache_policy::cpol_none = { cp_none, cp_none, cp_none, cp_none, cp_none } |
A shortcut constant for all caching disabled for use in dpp::cluster constructor. More... | |
const std::string | dpp::embed_type::emt_article = "article" |
Article. More... | |
const std::string | dpp::embed_type::emt_automod = "auto_moderation_message" |
Auto moderation filter. More... | |
const std::string | dpp::embed_type::emt_gifv = "gifv" |
Animated gif. More... | |
const std::string | dpp::embed_type::emt_image = "image" |
Image. More... | |
const std::string | dpp::embed_type::emt_link = "link" |
Link URL. More... | |
const std::string | dpp::embed_type::emt_rich = "rich" |
Rich text. More... | |
const std::string | dpp::embed_type::emt_video = "video" |
Video link. More... | |