D++ (DPP)  10.0.30
C++ Discord API Bot Library
thread.h File Reference
#include <dpp/export.h>
#include <dpp/snowflake.h>
#include <dpp/managed.h>
#include <dpp/channel.h>
#include <dpp/message.h>
Include dependency graph for thread.h:
This graph shows which files directly or indirectly include this file:

Classes

struct  dpp::active_thread_info
 A thread alongside the bot's optional thread_member object tied to it. More...
 
class  dpp::thread
 A definition of a discord thread. More...
 
struct  dpp::thread_member
 represents membership of a user with a thread More...
 
struct  dpp::thread_metadata
 metadata for threads More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

using dpp::active_threads = std::map< snowflake, active_thread_info >
 A map of threads alongside optionally the thread_member tied to the bot if it is in the thread. More...
 
typedef std::unordered_map< snowflake, thread > dpp::thread_map
 A group of threads. More...
 
typedef std::unordered_map< snowflake, thread_member > dpp::thread_member_map
 A group of thread member objects. More...
 

Functions

void dpp::to_json (nlohmann::json &j, const thread_metadata &tmdata)
 Serialize a thread_metadata object to json. More...